docs: fix incorrect tag when loading with timm
#1
by
pesto
- opened
README.md
CHANGED
|
@@ -45,7 +45,7 @@ img = Image.open(urlopen(
|
|
| 45 |
'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png'
|
| 46 |
))
|
| 47 |
|
| 48 |
-
model = timm.create_model('vit_huge_plus_patch16_dinov3.
|
| 49 |
model = model.eval()
|
| 50 |
|
| 51 |
# get model specific transforms (normalization, resize)
|
|
@@ -68,7 +68,7 @@ img = Image.open(urlopen(
|
|
| 68 |
))
|
| 69 |
|
| 70 |
model = timm.create_model(
|
| 71 |
-
'vit_huge_plus_patch16_dinov3.
|
| 72 |
pretrained=True,
|
| 73 |
features_only=True,
|
| 74 |
)
|
|
@@ -101,7 +101,7 @@ img = Image.open(urlopen(
|
|
| 101 |
))
|
| 102 |
|
| 103 |
model = timm.create_model(
|
| 104 |
-
'vit_huge_plus_patch16_dinov3.
|
| 105 |
pretrained=True,
|
| 106 |
num_classes=0, # remove classifier nn.Linear
|
| 107 |
)
|
|
|
|
| 45 |
'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png'
|
| 46 |
))
|
| 47 |
|
| 48 |
+
model = timm.create_model('vit_huge_plus_patch16_dinov3.lvd1689m', pretrained=True)
|
| 49 |
model = model.eval()
|
| 50 |
|
| 51 |
# get model specific transforms (normalization, resize)
|
|
|
|
| 68 |
))
|
| 69 |
|
| 70 |
model = timm.create_model(
|
| 71 |
+
'vit_huge_plus_patch16_dinov3.lvd1689m',
|
| 72 |
pretrained=True,
|
| 73 |
features_only=True,
|
| 74 |
)
|
|
|
|
| 101 |
))
|
| 102 |
|
| 103 |
model = timm.create_model(
|
| 104 |
+
'vit_huge_plus_patch16_dinov3.lvd1689m',
|
| 105 |
pretrained=True,
|
| 106 |
num_classes=0, # remove classifier nn.Linear
|
| 107 |
)
|