mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Add weight fore mobilenetv4 small 0.5, change 0.25 -> 0.35
This commit is contained in:
parent
a22ce0a329
commit
c1cb5641c7
@ -1011,6 +1011,13 @@ default_cfgs = generate_default_cfgs({
|
|||||||
),
|
),
|
||||||
"lcnet_150.untrained": _cfg(),
|
"lcnet_150.untrained": _cfg(),
|
||||||
|
|
||||||
|
'mobilenetv4_conv_small_035.untrained': _cfg(
|
||||||
|
mean=IMAGENET_INCEPTION_MEAN, std=IMAGENET_INCEPTION_STD,
|
||||||
|
test_input_size=(3, 256, 256), test_crop_pct=0.95, interpolation='bicubic'),
|
||||||
|
'mobilenetv4_conv_small_050.e3000_r224_in1k': _cfg(
|
||||||
|
hf_hub_id='timm/',
|
||||||
|
mean=IMAGENET_INCEPTION_MEAN, std=IMAGENET_INCEPTION_STD,
|
||||||
|
test_input_size=(3, 256, 256), test_crop_pct=0.95, interpolation='bicubic'),
|
||||||
'mobilenetv4_conv_small.e2400_r224_in1k': _cfg(
|
'mobilenetv4_conv_small.e2400_r224_in1k': _cfg(
|
||||||
hf_hub_id='timm/',
|
hf_hub_id='timm/',
|
||||||
test_input_size=(3, 256, 256), test_crop_pct=0.95, interpolation='bicubic'),
|
test_input_size=(3, 256, 256), test_crop_pct=0.95, interpolation='bicubic'),
|
||||||
@ -1254,20 +1261,19 @@ def lcnet_150(pretrained: bool = False, **kwargs) -> MobileNetV3:
|
|||||||
|
|
||||||
|
|
||||||
@register_model
|
@register_model
|
||||||
def mobilenetv4_conv_small_025(pretrained: bool = False, **kwargs) -> MobileNetV3:
|
def mobilenetv4_conv_small_035(pretrained: bool = False, **kwargs) -> MobileNetV3:
|
||||||
""" MobileNet V4 """
|
""" MobileNet V4 """
|
||||||
model = _gen_mobilenet_v4('mobilenetv4_conv_small', 0.25, pretrained=pretrained, **kwargs)
|
model = _gen_mobilenet_v4('mobilenetv4_conv_small_035', 0.35, pretrained=pretrained, **kwargs)
|
||||||
return model
|
return model
|
||||||
|
|
||||||
|
|
||||||
@register_model
|
@register_model
|
||||||
def mobilenetv4_conv_small_050(pretrained: bool = False, **kwargs) -> MobileNetV3:
|
def mobilenetv4_conv_small_050(pretrained: bool = False, **kwargs) -> MobileNetV3:
|
||||||
""" MobileNet V4 """
|
""" MobileNet V4 """
|
||||||
model = _gen_mobilenet_v4('mobilenetv4_conv_small', 0.50, pretrained=pretrained, **kwargs)
|
model = _gen_mobilenet_v4('mobilenetv4_conv_small_050', 0.50, pretrained=pretrained, **kwargs)
|
||||||
return model
|
return model
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@register_model
|
@register_model
|
||||||
def mobilenetv4_conv_small(pretrained: bool = False, **kwargs) -> MobileNetV3:
|
def mobilenetv4_conv_small(pretrained: bool = False, **kwargs) -> MobileNetV3:
|
||||||
""" MobileNet V4 """
|
""" MobileNet V4 """
|
||||||
|
Loading…
x
Reference in New Issue
Block a user