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

normals = (normals - 90.) / 180. in saic_depth_completion/data/datasets/matterport.py #3

Open
ChristinaTan0704 opened this issue Oct 28, 2020 · 0 comments

Comments

@ChristinaTan0704
Copy link

Hi, could you please explain a bit more about why we need to normalize the "normals" like this? If I understand correctly, the est_normal map from yindaz is ranging from 0~255 as they have:
-- image.save(string.format("%s%s_normal_est.png", config.result_path, saveName), normal_outputs:add(1):mul(0.5)) https://github.com/yindaz/DeepCompletionRelease/blob/922fc064bb8f480be1d8b31a1b8755eaea8fb268/torch/main_test_matterport.lua#L71
Thanks!

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