23
23
def _cfg (url = '' , ** kwargs ):
24
24
return {
25
25
'url' : url , 'num_classes' : 1000 , 'input_size' : (3 , 224 , 224 ), 'pool_size' : (7 , 7 ),
26
- 'crop_pct' : 0.875 , 'interpolation' : 'bicubic' ,
26
+ 'crop_pct' : 0.95 , 'interpolation' : 'bicubic' ,
27
27
'mean' : IMAGENET_DEFAULT_MEAN , 'std' : IMAGENET_DEFAULT_STD ,
28
28
'first_conv' : 'stem.conv1.conv' , 'classifier' : 'head.fc' ,
29
29
'fixed_input_size' : False , 'min_input_size' : (3 , 224 , 224 ),
@@ -35,7 +35,7 @@ def _cfg(url='', **kwargs):
35
35
# GPU-Efficient (ResNet) weights
36
36
'botnet26t_256' : _cfg (
37
37
url = 'https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-attn-weights/botnet26t_c1_256-167a0e9f.pth' ,
38
- fixed_input_size = True , input_size = (3 , 256 , 256 ), pool_size = (8 , 8 ), crop_pct = 0.95 ),
38
+ fixed_input_size = True , input_size = (3 , 256 , 256 ), pool_size = (8 , 8 )),
39
39
'botnet50ts_256' : _cfg (
40
40
url = '' ,
41
41
fixed_input_size = True , input_size = (3 , 256 , 256 ), pool_size = (8 , 8 )),
@@ -59,7 +59,7 @@ def _cfg(url='', **kwargs):
59
59
60
60
'lambda_resnet26t' : _cfg (
61
61
url = 'https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-attn-weights/lambda_resnet26t_a2h_256-25ded63d.pth' ,
62
- min_input_size = (3 , 128 , 128 ), input_size = (3 , 256 , 256 ), pool_size = (8 , 8 ), crop_pct = 0.95 ),
62
+ min_input_size = (3 , 128 , 128 ), input_size = (3 , 256 , 256 ), pool_size = (8 , 8 )),
63
63
'lambda_resnet50ts' : _cfg (
64
64
url = '' ,
65
65
min_input_size = (3 , 128 , 128 ), input_size = (3 , 256 , 256 ), pool_size = (8 , 8 )),
0 commit comments