Skip to content

Conversation

anty-filidor
Copy link

Fixed bug with dead link to normal images (i.e. https://inf.ethz.ch/personal/ladickyl/nyu_normals_gt.zip). I found a replacement here: https://dl.fbaipublicfiles.com/fair_self_supervision_benchmark/nyuv2_surfacenormal_metadata.zip and adapted code, so that archive from alternative source can be processed.

@tungts1101
Copy link

You have to rewrite the code in nyuv2.py to load the compressed normal file downloaded from the link above.

@nidham-sony
Copy link

Thank you @anty-filidor , I could use your code to download and extract surface normals.

I did a tiny update in https://github.com/nidham-sony/nyuv2-python-toolkit/tree/ng/extract_normals_save_npy_and_png to also save png image of surface normals (for visualization purposes).

https://github.com/nidham-sony/nyuv2-python-toolkit/blob/22fd2613cf6609849f33ed17719d2385c446129e/extract_nyuv2.py#L120-L159

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.

3 participants