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

Debug extract NYUD-v2 data from .mat #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ngazagna
Copy link

Hi,

When following instructions about NYUD-v2 data processing I was facing the following error:

~/LapDepth-release/datasets$ python extract_official_train_test_set_from_mat.py nyu_depth_v2_labeled.mat splits.mat ./NYU_Depth_V2/official_splits/
Traceback (most recent call last):
  File "extract_official_train_test_set_from_mat.py", line 42, in <module>
    from pyxform.utils import unichr
ImportError: cannot import name 'unichr' from 'pyxform.utils'

I solved it in this branch by

  • removing pyxform
  • Replacing unichr(c) by chr(c[0])

@ngazagna ngazagna changed the title Debug NYUD-v2 from .mat Debug extract NYUD-v2 data from .mat Apr 17, 2024
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.

None yet

2 participants