open_clip
open_clip copied to clipboard
Entry Not Found Error for JSON file when using OpenCLIP ViT-H/14
Hi, thanks for open-sourcing the OpenCLIP.
I'm trying to use your OpenCLIP ViT-H/14, but am facing problems when I follow the exact instructions provided in Huggingface repo (https://huggingface.co/laion/CLIP-ViT-H-14-frozen-xlm-roberta-large-laion5B-s13B-b90k).
Specifically, I tried:
import open_clip
model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:laion/CLIP-ViT-H-14-frozen-xlm-roberta-large-laion5B-s13B-b90k')
tokenizer = open_clip.get_tokenizer('hf-hub:laion/CLIP-ViT-H-14-frozen-xlm-roberta-large-laion5B-s13B-b90k')
However, I am facing following errors:
=========================================================
Traceback (most recent call last): File "/home/somewheresomewhereanaconda/lib/python3.9/site-packages/huggingface_hub/utils/_errors.py", line 259, in hf_raise_for_status response.raise_for_status() File "/home/somewheresomewhereanaconda/lib/python3.9/site-packages/requests/models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/laion/CLIP-ViT-H-14-frozen-xlm-roberta-large-laion5B-s13B-b90k/resolve/main/open_clip_config.json
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/somewheresomewhere.py", line 205, in
Entry Not Found for url: https://huggingface.co/laion/CLIP-ViT-H-14-frozen-xlm-roberta-large-laion5B-s13B-b90k/resolve/main/open_clip_config.json.
=========================================================
Seems the JSON file is not available. Any solutions?