laughtervv/SGPN

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

tansinjahan opened this issue · 2 comments

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?

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.

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.