CLIP icon indicating copy to clipboard operation
CLIP copied to clipboard

R50x64.pt SHA256 does not match - fyi

Open xvdp opened this issue 1 year ago • 0 comments

... 
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

xvdp avatar Feb 06 '24 12:02 xvdp