fabiopoiesi / dip

Project page of the paper "Distinctive 3D local deep descriptors" accepted in IEEE International Conference on Pattern Recognition 2020.
64 stars 4 forks source link

OSError:Unable to open object (bad object header version number) #10

Closed wenli4313 closed 2 years ago

wenli4313 commented 3 years ago

Hi! When I run "train.py" using the preprocessed data, I got the error"OSError:Unable to open object (bad object header version number)". I don't know how to solve.Do you have any ideas please?Thank you very much.

fabiopoiesi commented 3 years ago

Which is the command that gives this error?

wenli4313 commented 3 years ago

There may be an error when loading data.

Traceback (most recent call last): File "/home/dell/anaconda3/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3441, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "", line 1, in runfile('/home/dell/dip-master/train.py', wdir='/home/dell/dip-master') File "/home/dell/pycharm-community-2020.3.5/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_umd.py", line 197, in runfile pydev_imports.execfile(filename, global_vars, local_vars) # execute the script File "/home/dell/pycharm-community-2020.3.5/plugins/python-ce/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "/home/dell/dip-master/train.py", line 42, in dataset = Dataset(dataset_root, dataset_name, dataset_to_train, ratio_to_eval, do_data_augmentation) File "/home/dell/dip-master/dataset.py", line 40, in init hf = h5py.File(os.path.join(self.root_ptcld_overlap, f), 'r') File "/home/dell/anaconda3/lib/python3.7/site-packages/h5py/_hl/files.py", line 458, in init swmr=swmr) File "/home/dell/anaconda3/lib/python3.7/site-packages/h5py/_hl/files.py", line 199, in make_fid fid = h5f.open(name, flags, fapl=fapl) 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/h5f.pyx", line 100, in h5py.h5f.open OSError: Unable to open file (bad object header version number)

fabiopoiesi commented 2 years ago

Did you solve this issue?

wenli4313 commented 2 years ago

Thank  you! This problem was solved。

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年11月23日(星期二) 凌晨4:07 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [fabiopoiesi/dip] OSError:Unable to open object (bad object header version number) (#10)

Did you solve this issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

xiaochuangshu commented 2 years ago

how do you solve this issue,could you tell me ,thank you very much,if you see this message,you can connect with me wechat:Chaseforproactive