Skip to content

Commit 97450d6

Browse files
patricklabatutrwightman
authored andcommitted
Update DINOv2 license to Apache 2.0
1 parent 7a63691 commit 97450d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

timm/models/vision_transformer.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1207,25 +1207,25 @@ def _cfg(url='', **kwargs):
12071207
'vit_small_patch14_dinov2.lvd142m': _cfg(
12081208
url='https://dl.fbaipublicfiles.com/dinov2/dinov2_vits14/dinov2_vits14_pretrain.pth',
12091209
hf_hub_id='timm/',
1210-
license='cc-by-nc-4.0',
1210+
license='apache-2.0',
12111211
mean=IMAGENET_DEFAULT_MEAN, std=IMAGENET_DEFAULT_STD, num_classes=0,
12121212
input_size=(3, 518, 518), crop_pct=1.0),
12131213
'vit_base_patch14_dinov2.lvd142m': _cfg(
12141214
url='https://dl.fbaipublicfiles.com/dinov2/dinov2_vitb14/dinov2_vitb14_pretrain.pth',
12151215
hf_hub_id='timm/',
1216-
license='cc-by-nc-4.0',
1216+
license='apache-2.0',
12171217
mean=IMAGENET_DEFAULT_MEAN, std=IMAGENET_DEFAULT_STD, num_classes=0,
12181218
input_size=(3, 518, 518), crop_pct=1.0),
12191219
'vit_large_patch14_dinov2.lvd142m': _cfg(
12201220
url='https://dl.fbaipublicfiles.com/dinov2/dinov2_vitl14/dinov2_vitl14_pretrain.pth',
12211221
hf_hub_id='timm/',
1222-
license='cc-by-nc-4.0',
1222+
license='apache-2.0',
12231223
mean=IMAGENET_DEFAULT_MEAN, std=IMAGENET_DEFAULT_STD, num_classes=0,
12241224
input_size=(3, 518, 518), crop_pct=1.0),
12251225
'vit_giant_patch14_dinov2.lvd142m': _cfg(
12261226
url='https://dl.fbaipublicfiles.com/dinov2/dinov2_vitg14/dinov2_vitg14_pretrain.pth',
12271227
hf_hub_id='timm/',
1228-
license='cc-by-nc-4.0',
1228+
license='apache-2.0',
12291229
mean=IMAGENET_DEFAULT_MEAN, std=IMAGENET_DEFAULT_STD, num_classes=0,
12301230
input_size=(3, 518, 518), crop_pct=1.0),
12311231

0 commit comments

Comments
 (0)