Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error about evaluate #5

Open
deansaice opened this issue Apr 18, 2023 · 0 comments
Open

error about evaluate #5

deansaice opened this issue Apr 18, 2023 · 0 comments

Comments

@deansaice
Copy link

I use following command to train monodepth2 and in the train part test works good.But it goes wrong when i use evaluate.py .Could you tell me how to fix it?

train:
python
train_dist.py
--name MD2-Res50_192_B12_M
--exp_opts options/Monodepth2/train/monodepth2-res18_192_kitti_mono.yaml
--batch_size 12
--beta1 0.9
--epoch 20
--decay_step 15
--decay_rate 0.1
--save_freq 10
--visual_freq 2000
--metric_name depth_kitti_mono

trainning log:

Testing Start!

Testing Result:

| abs_rel  |  sq_rel  |   rms    | log_rms  |    a1    |    a2    |    a3    |  scale   |
|    0.1133|    0.8846|    4.7960|    0.1908|    0.8805|    0.9599|    0.9812|   31.6296|

evaluate
python evaluate.py --exp_opts options/Monodepth2/eval/monodepth2-res18-mono_192_kitti.yaml --model_path train_log/2023-04-17_21h52m56s_MD2-Res50_192_B12_M/model/best_model.pth
->Load the test dataset
->Load the pretrained model
->Start Evaluation
697/697
| abs_rel | sq_rel | rms | log_rms | a1 | a2 | a3 | scale |
| 0.969| 15.134| 19.206| 3.495| 0.000| 0.000| 0.000| 32.683|

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant