Skip to content

Debug extract NYUD-v2 data from .mat#37

Open
ngazagna wants to merge 1 commit into
tjqansthd:masterfrom
ngazagna:ng/debug_extract_from_mat
Open

Debug extract NYUD-v2 data from .mat#37
ngazagna wants to merge 1 commit into
tjqansthd:masterfrom
ngazagna:ng/debug_extract_from_mat

Conversation

@ngazagna
Copy link
Copy Markdown

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.

2 participants