mobilenetv2
(Not recommended) MobileNet-v2 convolutional neural network
mobilenetv2
is not recommended. Use the imagePretrainedNetwork
function instead and specify the "mobilenetv2"
model. For more information, see Version History.
Syntax
Description
MobileNet-v2 is a convolutional neural network that is 53 layers deep. You can load a pretrained version of the network trained on more than a million images from the ImageNet database [1]. The pretrained network can classify images into 1000 object categories, such as keyboard, mouse, pencil, and many animals. As a result, the network has learned rich feature representations for a wide range of images. The network has an image input size of 224-by-224. For more pretrained networks in MATLAB®, see Pretrained Deep Neural Networks.
returns a MobileNet-v2
network trained on the ImageNet data set.net
= mobilenetv2
This function requires the Deep Learning Toolbox™ Model for MobileNet-v2 Network support package. If this support package is not installed, then the function provides a download link.
returns a MobileNet-v2 network trained on the ImageNet data set. This syntax is equivalent
to net
= mobilenetv2('Weights','imagenet'
)net = mobilenetv2
.
returns the untrained MobileNet-v2 network architecture. The untrained model does not
require the support package. lgraph
= mobilenetv2('Weights','none'
)
Examples
Output Arguments
References
[1] ImageNet. http://www.image-net.org.
[2] Sandler, Mark, Andrew Howard, Menglong Zhu, Andrey Zhmoginov, and Liang-Chieh Chen. “MobileNetV2: Inverted Residuals and Linear Bottlenecks.” In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, 4510–20. Salt Lake City, UT: IEEE, 2018. https://doi.org/10.1109/CVPR.2018.00474.
Extended Capabilities
Version History
Introduced in R2019aSee Also
imagePretrainedNetwork
| dlnetwork
| trainingOptions
| trainnet
| Deep Network Designer