Update model config and README
Browse files- README.md +4 -4
- config.json +1 -1
README.md
CHANGED
@@ -11,7 +11,7 @@ license_link: https://ai.meta.com/resources/models-and-libraries/dinov3-license
|
|
11 |
datasets:
|
12 |
- lvd-1689m
|
13 |
---
|
14 |
-
# Model card for vit_large_patch16_dinov3.
|
15 |
|
16 |
A DINOv3 ViT model image feature encoder. Distilled on LVD-1689M from the DINOv3 ViT-7B model.
|
17 |
|
@@ -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_large_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_large_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_large_patch16_dinov3.
|
105 |
pretrained=True,
|
106 |
num_classes=0, # remove classifier nn.Linear
|
107 |
)
|
|
|
11 |
datasets:
|
12 |
- lvd-1689m
|
13 |
---
|
14 |
+
# Model card for vit_large_patch16_dinov3.lvd1689m
|
15 |
|
16 |
A DINOv3 ViT model image feature encoder. Distilled on LVD-1689M from the DINOv3 ViT-7B model.
|
17 |
|
|
|
45 |
'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png'
|
46 |
))
|
47 |
|
48 |
+
model = timm.create_model('vit_large_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_large_patch16_dinov3.lvd1689m',
|
72 |
pretrained=True,
|
73 |
features_only=True,
|
74 |
)
|
|
|
101 |
))
|
102 |
|
103 |
model = timm.create_model(
|
104 |
+
'vit_large_patch16_dinov3.lvd1689m',
|
105 |
pretrained=True,
|
106 |
num_classes=0, # remove classifier nn.Linear
|
107 |
)
|
config.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
"num_features": 1024,
|
5 |
"global_pool": "avg",
|
6 |
"pretrained_cfg": {
|
7 |
-
"tag": "
|
8 |
"custom_load": false,
|
9 |
"input_size": [
|
10 |
3,
|
|
|
4 |
"num_features": 1024,
|
5 |
"global_pool": "avg",
|
6 |
"pretrained_cfg": {
|
7 |
+
"tag": "lvd1689m",
|
8 |
"custom_load": false,
|
9 |
"input_size": [
|
10 |
3,
|