Skip to content

Commit 545bd40

Browse files
committed
Tag along test_vit3 weights
1 parent 69b687d commit 545bd40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

timm/models/vision_transformer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2019,7 +2019,7 @@ def _cfg(url: str = '', **kwargs) -> Dict[str, Any]:
20192019
hf_hub_id='timm/',
20202020
input_size=(3, 160, 160), crop_pct=0.95),
20212021
'test_vit3.r160_in1k': _cfg(
2022-
#hf_hub_id='timm/',
2022+
hf_hub_id='timm/',
20232023
input_size=(3, 160, 160), crop_pct=0.95),
20242024
}
20252025

@@ -3238,7 +3238,7 @@ def test_vit3(pretrained: bool = False, **kwargs) -> VisionTransformer:
32383238
""" ViT Test
32393239
"""
32403240
model_args = dict(
3241-
patch_size=16, embed_dim=96, depth=10, num_heads=3, mlp_ratio=2,
3241+
patch_size=16, embed_dim=96, depth=9, num_heads=3, mlp_ratio=2,
32423242
class_token=False, reg_tokens=1, global_pool='map', init_values=1e-5)
32433243
model = _create_vision_transformer('test_vit3', pretrained=pretrained, **dict(model_args, **kwargs))
32443244
return model

0 commit comments

Comments
 (0)