openai / CLIP

CLIP (Contrastive Language-Image Pretraining), Predict the most relevant text snippet given an image
MIT License
24.55k stars 3.2k forks source link

R50x64.pt SHA256 does not match - fyi #425

Open xvdp opened 7 months ago

xvdp commented 7 months ago
... 
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