timm
/

guillaumeguy commited on
Commit
2b58dc6
1 Parent(s): 5fbd414

The path needs to include "timm"

Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -30,8 +30,8 @@ from urllib.request import urlopen
30
  from PIL import Image
31
  from open_clip import create_model_from_pretrained, get_tokenizer
32
 
33
- model, preprocess = create_model_from_pretrained('hf-hub:ViT-SO400M-14-SigLIP-384')
34
- tokenizer = get_tokenizer('hf-hub:ViT-SO400M-14-SigLIP-384')
35
 
36
  image = Image.open(urlopen(
37
  'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png'
 
30
  from PIL import Image
31
  from open_clip import create_model_from_pretrained, get_tokenizer
32
 
33
+ model, preprocess = create_model_from_pretrained('hf-hub:timm/ViT-SO400M-14-SigLIP-384')
34
+ tokenizer = get_tokenizer('hf-hub:timm/ViT-SO400M-14-SigLIP-384')
35
 
36
  image = Image.open(urlopen(
37
  'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png'