image size option
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ class VisionTransformer(timm.models.vision_transformer.VisionTransformer):
|
||||
|
||||
def vit_large_patch16(**kwargs):
|
||||
model = VisionTransformer(
|
||||
img_size=224,patch_size=16, embed_dim=1024, depth=24, num_heads=16, mlp_ratio=4, qkv_bias=True,
|
||||
patch_size=16, embed_dim=1024, depth=24, num_heads=16, mlp_ratio=4, qkv_bias=True,
|
||||
norm_layer=partial(nn.LayerNorm, eps=1e-6), **kwargs)
|
||||
return model
|
||||
|
||||
|
||||
Reference in New Issue
Block a user