guillaumeguy
commited on
Commit
•
2b58dc6
1
Parent(s):
5fbd414
Fix code
Browse filesThe path needs to include "timm"
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'
|