Add min_input_size of 128 for hieradet/sam2

This commit is contained in:
Ross Wightman 2024-08-16 15:13:56 -07:00
parent 0b05122cda
commit de3a91a7a0

View File

@ -517,7 +517,7 @@ def _cfg(url='', **kwargs):
return {
'url': url,
'num_classes': 0, 'input_size': (3, 896, 896), 'pool_size': (28, 28),
'crop_pct': 1.0, 'interpolation': 'bicubic',
'crop_pct': 1.0, 'interpolation': 'bicubic', 'min_input_size': (3, 128, 128),
'mean': IMAGENET_DEFAULT_MEAN, 'std': IMAGENET_DEFAULT_STD,
'first_conv': 'patch_embed.proj', 'classifier': 'head.fc',
**kwargs