File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1919,22 +1919,27 @@ def _cfgr(url='', **kwargs):
19191919 'mobileone_s0.apple_in1k' : _cfg (
19201920 hf_hub_id = 'timm/' ,
19211921 crop_pct = 0.875 ,
1922+ first_conv = ('stem.conv_kxk.0.conv' , 'stem.conv_scale.conv' ),
19221923 ),
19231924 'mobileone_s1.apple_in1k' : _cfg (
19241925 hf_hub_id = 'timm/' ,
19251926 crop_pct = 0.9 ,
1927+ first_conv = ('stem.conv_kxk.0.conv' , 'stem.conv_scale.conv' ),
19261928 ),
19271929 'mobileone_s2.apple_in1k' : _cfg (
19281930 hf_hub_id = 'timm/' ,
19291931 crop_pct = 0.9 ,
1932+ first_conv = ('stem.conv_kxk.0.conv' , 'stem.conv_scale.conv' ),
19301933 ),
19311934 'mobileone_s3.apple_in1k' : _cfg (
19321935 hf_hub_id = 'timm/' ,
19331936 crop_pct = 0.9 ,
1937+ first_conv = ('stem.conv_kxk.0.conv' , 'stem.conv_scale.conv' ),
19341938 ),
19351939 'mobileone_s4.apple_in1k' : _cfg (
19361940 hf_hub_id = 'timm/' ,
19371941 crop_pct = 0.9 ,
1942+ first_conv = ('stem.conv_kxk.0.conv' , 'stem.conv_scale.conv' ),
19381943 ),
19391944})
19401945
Original file line number Diff line number Diff line change @@ -1264,7 +1264,7 @@ def _cfg(url="", **kwargs):
12641264 "interpolation" : "bicubic" ,
12651265 "mean" : IMAGENET_DEFAULT_MEAN ,
12661266 "std" : IMAGENET_DEFAULT_STD ,
1267- 'first_conv' : 'stem.0.conv_kxk.0.conv' ,
1267+ 'first_conv' : ( 'stem.0.conv_kxk.0.conv' , 'stem.0.conv_scale.conv' ) ,
12681268 "classifier" : "head.fc" ,
12691269 ** kwargs ,
12701270 }
You can’t perform that action at this time.
0 commit comments