yangyangyang127 / PointCLIP_V2

[ICCV 2023] PointCLIP V2: Prompting CLIP and GPT for Powerful 3D Open-world Learning
MIT License
225 stars 13 forks source link

Unable to open file #24

Open yaoerqin opened 9 months ago

yaoerqin commented 9 months ago

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.

yaoerqin commented 9 months ago

I have solved this.

sixman1 commented 7 months ago

I have the same problem, I want to know how you solved it @yaoerqin

yaoerqin commented 7 months ago

I have the same problem, I want to know how you solved it @yaoerqin

Hi, I just wait for the file download completely, or download it again.

sixman1 commented 7 months ago

I have the same problem, I want to know how you solved it @yaoerqin

Hi, I just wait for the file download completely, or download it again.

Thank you, I have solved it.