[GH-ISSUE #223] Problems loading RN50x64 Model #195

Open
opened 2026-10-31 21:12:15 +00:00 by bsakaguchi · 3 comments
Owner

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!

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!
Author
Owner

@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

<!-- gh-comment-id:1065856053 --> @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
Author
Owner

@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

<!-- gh-comment-id:1073706838 --> @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
Author
Owner

@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.load would also work.

<!-- gh-comment-id:1094402852 --> @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](https://github.com/openai/CLIP/blob/main/clip/clip.py) and loading its path with `clip.load` would also work.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openai/CLIP#195
No description provided.