资源算法mobilenetv3.pytorch

mobilenetv3.pytorch

2020-02-07 | |  33 |   0 |   0

PyTorch Implementation of MobileNet V3

Reproduction of MobileNet V3 architecture as described in Searching for MobileNetV3 by Andrew Howard, Mark Sandler, Grace Chu, Liang-Chieh Chen, Bo Chen, Mingxing Tan, Weijun Wang, Yukun Zhu, Ruoming Pang, Vijay Vasudevan, Quoc V. Le, Hartwig Adam on ILSVRC2012 benchmark with PyTorch framework.

Requirements

Dataset

Download the ImageNet dataset and move validation images to labeled subfolders. To do this, you can use the following script: https://raw.githubusercontent.com/soumith/imagenetloader.torch/master/valprep.sh

Models

Architecture# ParametersMFLOPsTop-1 / Top-5 Accuracy (%)
MobileNetV3-Large5.145M245.5873.152 / 91.102
MobileNetV2 1.03.504M300.7972.192 / 90.534
MobileNetV3-Small3.112M57.0867.102 / 86.374
MobileNetV2 0.351.677M59.2960.092 / 82.172

Note: The implemented architecture follows Table 1 and 2 in the paper, yet architectural details are vaguely described, rendering mismatches of both parameters and complexity.

from mobilenetv3 import mobilenetv3_large, mobilenetv3_small

net_large = mobilenetv3_large()
net_small = mobilenetv3_small()

net_large.load_state_dict(torch.load('pretrained/mobilenetv3-large-657e7b3d.pth'))
net_small.load_state_dict(torch.load('pretrained/mobilenetv3-small-c7eb32fe.pth'))

Citation

@ARTICLE{2019arXiv190502244H,
       author = {{Howard}, Andrew and {Sandler}, Mark and {Chu}, Grace and
         {Chen}, Liang-Chieh and {Chen}, Bo and {Tan}, Mingxing and
         {Wang}, Weijun and {Zhu}, Yukun and {Pang}, Ruoming and
         {Vasudevan}, Vijay and {Le}, Quoc V. and {Adam}, Hartwig},
        title = "{Searching for MobileNetV3}",
      journal = {arXiv e-prints},
     keywords = {Computer Science - Computer Vision and Pattern Recognition},
         year = "2019",
        month = "May",
          eid = {arXiv:1905.02244},
        pages = {arXiv:1905.02244},
archivePrefix = {arXiv},
       eprint = {1905.02244},
 primaryClass = {cs.CV},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2019arXiv190502244H},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}


上一篇:mobilenet-mxnet

下一篇:caffe-mobilenet-v3

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...