mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Add fixed_input_size flag to msra efficient_vit
This commit is contained in:
parent
c28324a150
commit
58ea1c02c4
@ -518,6 +518,7 @@ def _cfg(url='', **kwargs):
|
|||||||
'std': IMAGENET_DEFAULT_STD,
|
'std': IMAGENET_DEFAULT_STD,
|
||||||
'first_conv': 'patch_embed.conv1.conv',
|
'first_conv': 'patch_embed.conv1.conv',
|
||||||
'classifier': 'head.linear',
|
'classifier': 'head.linear',
|
||||||
|
'fixed_input_size': True,
|
||||||
**kwargs,
|
**kwargs,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user