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

Question about scaling? #31

Open
ryancll opened this issue Sep 22, 2020 · 1 comment
Open

Question about scaling? #31

ryancll opened this issue Sep 22, 2020 · 1 comment

Comments

@ryancll
Copy link

ryancll commented Sep 22, 2020

Hi @zachteed @heilaw @anewell @jiadeng

I notice that you scale both the depth map and the translation in pose matrix with scaling ratio 0.1 when training the KITTI dataset.
However, in the data streaming script for NYU and SCANNET, I only find the scaling for depth map with scaling ratio 1/5000 and 1/1000. Could you please explain why we don't need to scale the translation for NYU and SCANNET?

Thank you so much!

@zachteed
Copy link
Collaborator

The 1/5000 and 1/1000 come from the fact that depth maps for scannet and nyu are saved as 16bit png images and not floating points. You need to multiply by these values to convert from 16bit int to meters.

The KITTI depth map was scaled by .1 meters to make the range of depth maps consistent with the other datasets (.5 - 10m) during training. It is unscaled during testing to convert back to meters.

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