Skip to content
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

RuntimeError: Pretrained weights (../sagav2/clip_ckpt/ViT-B-16-laion2b_s34b_b88k.bin) not found for model ViT-B-16. #99

Open
malong0115 opened this issue Aug 6, 2024 · 3 comments

Comments

@malong0115
Copy link

非常荣幸能够使用您开源的项目。
我在使用get_clip_features.py时报出了这个错误,没有找到../sagav2/clip_ckpt/ViT-B-16-laion2b_s34b_b88k.bin,我应该在哪里找到它?
我运行的命令是:python get_clip_features.py --image_root data/360_v2/garden/
2024-08-06 21-37-42 的屏幕截图

@Jumpat
Copy link
Owner

Jumpat commented Aug 7, 2024

你好,感谢你的关注。可以从这里下载这个ckpt。

@L1n2hang
Copy link

L1n2hang commented Aug 8, 2024

I guess I managed to make it work somehow?
image

This is what I've done:

  1. download the ckpt from the link Jumpat provided; and it should look like this
    image
    2)change the original clip_model_pretrained to the bin file in your downloaded direction
    image

@Jumpat
Copy link
Owner

Jumpat commented Aug 8, 2024

Yeah, thanks for your help! @L1n2hang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants