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 you please provide a script to infer disparity maps on unseen data? #18

Open
MartinHahner opened this issue Aug 11, 2020 · 0 comments

Comments

@MartinHahner
Copy link

To check how well your method/models can generalize,
I tried using ./scripts/kitti15_save.sh to infer disparity maps on new and previously unseen data,
but unfortunately save_disp.py is too dependant on the KITTI data structure (e.g. via --testlist)
and I also do not know what the "third column" in ./filenames/*.txt is used for,
otherwise, I could maybe hack a script myself.

E.g. from ./filenames/kitti15_train.txt:
training/image_2/000000_10.png training/image_3/000000_10.png training/disp_occ_0/000000_10.png
left right ???

Having something like this would be great:

./scripts/infer.sh --left $PATH_TO_LEFT_IMAGES_FOLDER \
                   --right $PATH_TO_RIGHT_IMAGES_FOLDER \
                   --checkpoint ./checkpoints/kitti2015.ckpt \
                   --output $PATH_TO_DISPARITY_OUTPUT_FOLDER

(Assuming the corresponding file names within $PATH_TO_LEFT_IMAGES_FOLDER and $PATH_TO_RIGHT_IMAGES_FOLDER are the same.)

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