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

Can't get custom dataset to perform as well as monodepth2 #44

Open
d4l3k opened this issue Dec 26, 2021 · 2 comments
Open

Can't get custom dataset to perform as well as monodepth2 #44

d4l3k opened this issue Dec 26, 2021 · 2 comments

Comments

@d4l3k
Copy link

d4l3k commented Dec 26, 2021

I'm running into issues getting manydepth to produce good results with a custom dataset. The same dataset on monodepth2 works pretty well (though dynamic objects are incorrect). I'm using the same camera intrinsics as for monodepth2 so pretty sure they're correct. I've tried freezing the teacher it at 5 epochs as well but it produces the same results.

I've got about 26k pairs of images at 20 fps at 640x416 resolution.

python -m manydepth.train --dataset <custom> --data_path ../my-dataset/ --batch_size 9 --log_frequency 5 --height 416 --num_workers 16 --png --freeze_teacher_epoch 5

Original:
monorail5_0000004000

Manydepth:
monorail5_0000004000_disp_multi

Monodepth2:
monorail5_0000004000_disp

@d4l3k
Copy link
Author

d4l3k commented Dec 28, 2021

Here's a slightly different dataset w/ the cost vol. With some model tweaks it's crisper but still not great. It seems to have the same issue with dynamic objects appearing as infinite as monodepth2.

main_101_costvol_min_multi
main_101
main_101_disp_multi

@daniyar-niantic
Copy link
Collaborator

Hi! I suspect you need to play with freeze_teacher_epoch.

Why do you say you have 26k pairs of images, are you training on video or stereo?

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

2 participants