mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[GH-ISSUE #223] Problems loading RN50x64 Model #195
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openai/CLIP#195
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @adrielkuek on GitHub (Mar 10, 2022).
Original GitHub issue: https://github.com/openai/CLIP/issues/223
Hi, I'm having issues loading RN50x64 model recently released in Jan 2022.
Running:
model, preprocess = clip.load("RN50x64", device=device)
returns:
RuntimeError: Model RN50x64 not found; available models = ['RN50', 'RN101', 'RN50x4', 'RN50x16', 'ViT-B/32', 'ViT-B/16']
Is there a way to load the larger model for evaluation?
Thanks!
@Sierkinhane commented on GitHub (Mar 12, 2022):
Maybe you should add 'RN50x64' to _MODELS in https://github.com/openai/CLIP/blob/main/clip/clip.py
@TizianThieringer commented on GitHub (Mar 21, 2022):
Did you make it work? I am having the same problem with the Vit-L/14 version. @adrielkuek
@jongwook commented on GitHub (Apr 10, 2022):
This should work after reinstalling the package from the latest commit. As an alternative, downloading the checkpoint from the URLs in clip.py and loading its path with
clip.loadwould also work.