mobilenet_v1¶
- paddle.vision.models. mobilenet_v1 ( pretrained=False, scale=1.0, **kwargs ) [source]
-
MobileNetV1
- Parameters
-
pretrained (bool) – If True, returns a model pre-trained on ImageNet. Default: False.
scale – (float): scale of channels in each layer. Default: 1.0.
Examples
from paddle.vision.models import mobilenet_v1 # build model model = mobilenet_v1() # build model and load imagenet pretrained weight # model = mobilenet_v1(pretrained=True) # build mobilenet v1 with scale=0.5 model = mobilenet_v1(scale=0.5)