FoundationVision / GLEE

[CVPR2024 Highlight]GLEE: General Object Foundation Model for Images and Videos at Scale
https://glee-vision.github.io/
MIT License
1.02k stars 82 forks source link

缺少这么多文件怎么破?OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory projects/GLEE/clip_vit_base_patch32. #19

Closed yuukix77 closed 5 months ago

yuukix77 commented 5 months ago

OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory projects/GLEE/clip_vit_base_patch32. 缺这么多文件怎么说

wjf5203 commented 5 months ago

Thank you for bringing attention to the error message regarding the missing CLIP .bin weights. The requirement for this weights is indeed mentioned in our training documentation at TRAIN Understanding that not everyone will need to train the model, I have now updated our installation instructions to include this prompt. You can find the revised instructions at INSTALL

Alternatively, you can use the wget -P projects/GLEE/clip_vit_base_patch32/ https://huggingface.co/spaces/Junfeng5/GLEE_demo/resolve/main/GLEE/clip_vit_base_patch32/pytorch_model.bin command to solve this problem.

Thanks for your reminder.