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

KeyError: "Unable to open object (object 'data' doesn't exist)" #33

Open
tansinjahan opened this issue Oct 16, 2019 · 2 comments
Open

Comments

@tansinjahan
Copy link

Hi @laughtervv
I downloaded the h5 data from
https://drive.google.com/uc?id=1UjcXB2wMlLt5qwYPk5iSAnlhttl1AO9u&export=download
and tried training the model but it gives following error -
data = f['data'][:]
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "/usr/local/lib/python2.7/dist-packages/h5py/_hl/group.py", line 262, in getitem
oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5o.pyx", line 190, in h5py.h5o.open
KeyError: "Unable to open object (object 'data' doesn't exist)"

I assume it's related to the h5 files. Do you have any idea why this is happening?

@IsaacGuan
Copy link

Hi Tansin,
I think you need to write each entry in train_hdf5_file_list.txt correctly, such as data/indoor3d_ins_seg_hdf5/Area_1_conferenceRoom_1.h5. Make sure to add the file extension .h5 to each entry so that h5py can load the data properly.

@WangY69
Copy link

WangY69 commented Apr 22, 2020

Can you tell me how to write train_hdf5_file_list.txt ? I didn't get the steps in details.
I have downloaded the indoor3d_sem_seg_hdf5_data.

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

3 participants