[GH-ISSUE #425] R50x64.pt SHA256 does not match - fyi #365

Open
opened 2026-10-31 21:14:23 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @xvdp on GitHub (Feb 6, 2024).
Original GitHub issue: https://github.com/openai/CLIP/issues/425

... 
model, preprocess = clip.load('RN50x64')
/home/z/mambaforge/envs/abj/lib/python3.9/site-packages/clip/clip.py:57: UserWarning: /home/z/.cache/clip/RN50x64.pt exists, but the SHA256 checksum does not match; re-downloading the file
  warnings.warn(f"{download_target} exists, but the SHA256 checksum does not match; re-downloading the file")
 42%|███████████████▊                      | 536M/1.26G [03:02<04:16, 3.08MiB/s]
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File "/home/z/mambaforge/envs/abj/lib/python3.9/site-packages/clip/clip.py", line 120, in load
    model_path = _download(_MODELS[name], download_root or os.path.expanduser("~/.cache/clip"))
  File "/home/z/mambaforge/envs/abj/lib/python3.9/site-packages/clip/clip.py", line 70, in _download
    raise RuntimeError("Model has been downloaded but the SHA256 checksum does not not match")
RuntimeError: Model has been downloaded but the SHA256 checksum does not not match

Originally created by @xvdp on GitHub (Feb 6, 2024). Original GitHub issue: https://github.com/openai/CLIP/issues/425 ```python ... model, preprocess = clip.load('RN50x64') /home/z/mambaforge/envs/abj/lib/python3.9/site-packages/clip/clip.py:57: UserWarning: /home/z/.cache/clip/RN50x64.pt exists, but the SHA256 checksum does not match; re-downloading the file warnings.warn(f"{download_target} exists, but the SHA256 checksum does not match; re-downloading the file") 42%|███████████████▊ | 536M/1.26G [03:02<04:16, 3.08MiB/s] Traceback (most recent call last): File "<stdin>", line 2, in <module> File "/home/z/mambaforge/envs/abj/lib/python3.9/site-packages/clip/clip.py", line 120, in load model_path = _download(_MODELS[name], download_root or os.path.expanduser("~/.cache/clip")) File "/home/z/mambaforge/envs/abj/lib/python3.9/site-packages/clip/clip.py", line 70, in _download raise RuntimeError("Model has been downloaded but the SHA256 checksum does not not match") RuntimeError: Model has been downloaded but the SHA256 checksum does not not match ```
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#365
No description provided.