Giter Club home page Giter Club logo

mobilenetv3_pytorch's Introduction

MobileNetV3_PyTorch_pretrained_model

This is an unofficial PyTorch implementation for MobileNetV3. Multi-GPUs training is supported. We trained it on ImageNet-1K and released the model parameters. This work was implemented by Peng Xu and Jin Feng.

This project is designed with these goals:

  • Train MobileNetV3-Small 1.0 on ImageNet-1K dataset.
  • Train MobileNetV3-Large 1.0 on ImageNet-1K dataset.

Requirements

Ubuntu 14.04

Python 2.7

PyTorch 0.4.0

Our Hardware Environment

Our server details: 2 Intel(R) Xeon(R) CPUs (E5-2620 v3 @ 2.40GHz), 128 GB RAM, 4 GTX 1080 Ti GPUs.

For fast IO, ImageNet-1K dataset is stored in our SSD.

Experimental Results

We report the performance (Top-1 accuracy) on ImageNet-1K validation set.

Network Top-1 Accuracy Pretrained Model
MobileNetV3-Small 1.0 (Official Implementation) 67.4% none
MobileNetV3-Small 1.0 (Our Implementation) soon 9.8 MB, Baiduyun Disk, [Google Drive] (coming soon)

Our Training Details

Optimizer

Learning rate

Batch Size = 2560

Running costs are summarized in following table.

GPU RAM RAM Running Time
30 GB 100 GB 72 hours

Please see more details in our training file train.py.

How to Use

from MobileNetV2 import MobileNetV2

net = MobileNetV2(model_mode="SMALL", num_classes=1000)
state_dict = torch.load('xx')["network"]
net.load_state_dict(state_dict)

mobilenetv3_pytorch's People

Contributors

pengboxiangshang avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.