-
Notifications
You must be signed in to change notification settings - Fork 62
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 'pid' doesn't exist)" #36
Comments
@WangY69 Hi, I had met the same problem as yours. coud you please share the solution out? |
You must 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. |
thanks for your prompt reply~ However, from the directory you give I suppose I have used the wrong training data... It seems that the author didn't give the detailed insturctions about the data preparation. And I finally use the data from the repository PointNet so my directory would look like data/indoor3d_sem_seg_hdf5_data/ply_data_all_0.h5 . I have struggled about the data preparation problem all day, so I wonder could you please share the link to download the instance segmentation data or give me some other instructions. Thanks. |
|
我找到这个了,但是链接好像失效了,没有下载的选项。。 |
https://drive.google.com/drive/folders/1s1cFfb8cInM-SNHQoTGxN9BIyNpNQK6x |
十分感谢! |
Hello, @laughtervv
I have downloaded the indoor3d_sem_seg_hdf5_data,but I have a error:
Fail to load modelfile: checkpoint/stanford_ins_seg/trained_models/
Traceback (most recent call last):
File "train.py", line 277, in
train()
File "train.py", line 177, in train
cur_data, cur_group, _, cur_seg = provider.loadDataFile_with_groupseglabel_stanfordindoor(cur_train_filename)
File "/data/zyu/wangyu/wangy/SGPN-master/provider.py", line 207, in loadDataFile_with_groupseglabel_stanfordindoor
group = f['pid'][:].astype(np.int32)#NxG
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 "/home/zyu/anaconda3/lib/python3.6/site-packages/h5py/_hl/group.py", line 177, 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 'pid' doesn't exist)"
I think it’s related to the train_hdf5_file_list.txt, but I don't how to write train_hdf5_file_list.txt and didn't get the steps in details. Can you give some suggestion?
Thanks for your response.
The text was updated successfully, but these errors were encountered: