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

Add script to generate normals GT, tweak dataloader, correct intrinsics #31

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

valgur
Copy link

@valgur valgur commented Mar 23, 2020

Thank you for open sourcing the model! It's much appreciated.

This PR adds a script to generate the surface normals ground truth required for training, which is currently not provided out of the box in the repo. It uses a custom version of the surface-normals tool found here for this, which adds an easily installable Python wrapper for the code.

I adjused the normals generation script to produce separate normals image for both of the left and right cameras and modified the dataloader scripts to match that (along with some other small tweaks).

I also corrected the camera intrinsic values to match the ones provided with KITTI (as mentioned in issue #30).

Also adjust normals GT paths to match generate_normals.py output.
Normals GT is now separate for left and right cameras.
Add option to use camera image path format used by the `raw_data_downloader.sh` script.
@valgur
Copy link
Author

valgur commented Apr 2, 2020

The valgur/surface-normal fork now also includes CUDA support, which cuts down processing time significantly. Processing the full KITTI depth dataset now takes just 9 minutes instead of 2.5 hours on my laptop after this addition.

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

Successfully merging this pull request may close these issues.

1 participant