Unable to open file
yaoerqin opened this issue · 4 comments
Hi there,
I got a question of the following when I tried to run the zeroshot_cls.sh:
File "/content/drive/MyDrive/Colab Notebooks/PointCLIP_V2/zeroshot_cls/datasets/modelnet40.py", line 33, in load_data
f = h5py.File(h5_name.strip(), 'r')
File "/usr/local/lib/python3.10/dist-packages/h5py/_hl/files.py", line 567, in init
fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
File "/usr/local/lib/python3.10/dist-packages/h5py/_hl/files.py", line 231, 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 106, in h5py.h5f.open
OSError: Unable to open file (truncated file: eof = 22020096, sblock->base_addr = 0, stored_eof = 73523284)
I'm sure the file is downloaded correctly. I can't figure out the reason.
I have solved this.