← Open Source
Zehaos

MobileNet

MobileNet build with Tensorflow.

ModelsVision modelsOn-device modelsPython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
1.66k
Stars
469
Forks
+0
This week
2
Contributors
Created 2017-04-19 · Updated 2026-09-21 · #9756 today
Top developers
Zehaosmodanesh

Zehaos/MobileNet is ranked 9,756 with 1,657 stars.

Same-category comparison

Zehaos/MobileNet is ranked 9,756 among these 8 peers; google-research/pegasus is ranked 9,754.

Same-category comparison
NameRankMetrics
argusswift/YOLOv4-pytorch9,723
Language:
Python
Stars:
1,673
Forks:
322
Description:
This is a pytorch repository of YOLOv4, attentive YOLOv4 and mobilenet YOLOv4 with PASCAL VOC and COCO.
natanielruiz/deep-head-pose9,736
Language:
Python
Stars:
1,668
Forks:
367
Description:
:fire::fire: Deep Learning Head Pose Estimation using PyTorch.
ry/tensorflow-resnet9,741
Language:
Python
Stars:
1,664
Forks:
621
Description:
ResNet model in TensorFlow.
google-research/pegasus9,754
Language:
Python
Stars:
1,658
Forks:
318
deepseek-ai/DeepSeek-V3.2-Exp9,763
Language:
Python
Stars:
1,655
Forks:
191
rwightman/efficientdet-pytorch9,768
Language:
Python
Stars:
1,655
Forks:
297
Description:
A PyTorch impl of EfficientDet faithful to the original Google impl w/ ported weights.
bowang-lab/scGPT9,769
Language:
Jupyter Notebook
Stars:
1,654
Forks:
347
bytedance/DreamO9,784
Language:
Python
Stars:
1,648
Forks:
136
Description:
[SIGGRAPH Asia 2025] DreamO: A Unified Framework for Image Customization.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModels
SubcategoryVision models, On-device models
Stars1,657
Forks469
Contributors2
Created date2017-04-19
Updated date2026-09-21
Stars in 1 day0
Stars in 7 days0
Rank9,756
Previous rank9,798
Rank change42
7-day stars rank12,405
Previous 7-day stars rank12,448
7-day stars rank change43
Total stars rank7,448
Previous total stars rank7,444
Total stars rank change-4
README summary

MobileNet A tensorflow implementation of Google's MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications The official implementation is avaliable at tensorflow/model. The official implementation of object detection is now released, see tensorflow/model/object_detection. News YellowFin optimizer has been intergrated, but I have no gpu resources to train on imagenet with it. 09% | Download the pretrained weight: OneDrive, BaiduYun **Loss** Time Benchmark Environment: Ubuntu 16. 1| Image Size: (224, 224, 3), Batch Size: 1 Usage Train on

Imagenet 1. Please refer to Google's tutorial for training inception. Benchmark speed Train MobileNet Detector (Debugging) 1. After download KITTI data, you need to split it data into train/val set. kitti_root floder then look like below Then convert it into tfrecord. The code of this subject is largely based on SqueezeDet & SSD-Tensorflow. I would appreciated if you could feed back any bug. About the MobileNet model size According to the paper, MobileNet has 3. 3 Million Parameters

, which does not vary based on the input resolution. It means that the number of final model parameters should be larger than 3. When using RMSprop training strategy, the checkpoint file size should be almost 3 times as large as the model size, because of some auxiliary parameters used in RMSprop.

Frequently asked questions

How many stars and forks are recorded?

Zehaos/MobileNet has 1,657 stars and 469 forks.

What is the repository rank?

Zehaos/MobileNet is ranked 9,756.

What language and category are recorded?

Zehaos/MobileNet has 1,657 stars, uses Python and belongs to Models.

Which repository is closest in rank?

Zehaos/MobileNet is compared with google-research/pegasus, ranked 9,754 with 1,658 stars.

README

MobileNet

A tensorflow implementation of Google's MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications

The official implementation is avaliable at tensorflow/model.

The official implementation of object detection is now released, see tensorflow/model/object_detection.

News

YellowFin optimizer has been intergrated, but I have no gpu resources to train on imagenet with it. Call for training ~_~

Official implement click here

Base Module

Accuracy on ImageNet-2012 Validation Set

Model Width Multiplier Preprocessing Accuracy-Top1 Accuracy-Top5
MobileNet 1.0 Same as Inception 66.51% 87.09%

Download the pretrained weight: OneDrive, BaiduYun

Loss

Time Benchmark

Environment: Ubuntu 16.04 LTS, Xeon E3-1231 v3, 4 Cores @ 3.40GHz, GTX1060.

TF 1.0.1(native pip install), TF 1.1.0(build from source, optimization flag '-mavx2')

Device Forward Forward-Backward Instruction set Quantized Fused-BN Remark
CPU 52ms 503ms - - - TF 1.0.1
CPU 44ms 177ms - - On TF 1.0.1
CPU 31ms - - 8-bits - TF 1.0.1
CPU 26ms 75ms AVX2 - - TF 1.1.0
CPU 128ms - AVX2 8-bits - TF 1.1.0
CPU 19ms 89ms AVX2 - On TF 1.1.0
GPU 3ms 16ms - - - TF 1.0.1, CUDA8.0, CUDNN5.1
GPU 3ms 15ms - - On TF 1.0.1, CUDA8.0, CUDNN5.1

Image Size: (224, 224, 3), Batch Size: 1

Usage

Train on Imagenet

  1. Prepare imagenet data. Please refer to Google's tutorial for training inception.

  2. Modify './script/train_mobilenet_on_imagenet.sh' according to your environment.

bash ./script/train_mobilenet_on_imagenet.sh

Benchmark speed

python ./scripts/time_benchmark.py

Train MobileNet Detector (Debugging)

  1. Prepare KITTI data.

After download KITTI data, you need to split it data into train/val set.

cd /path/to/kitti_root
mkdir ImageSets
cd ./ImageSets
ls ../training/image_2/ | grep ".png" | sed s/.png// > trainval.txt
python ./tools/kitti_random_split_train_val.py

kitti_root floder then look like below

kitti_root/
                  |->training/
                  |     |-> image_2/00****.png
                  |     L-> label_2/00****.txt
                  |->testing/
                  |     L-> image_2/00****.png
                  L->ImageSets/
                        |-> trainval.txt
                        |-> train.txt
                        L-> val.txt

Then convert it into tfrecord.

python ./tools/tf_convert_data.py
  1. Mobify './script/train_mobilenet_on_kitti.sh' according to your environment.
bash ./script/train_mobilenetdet_on_kitti.sh

The code of this subject is largely based on SqueezeDet & SSD-Tensorflow. I would appreciated if you could feed back any bug.

Trouble Shooting

  1. About the MobileNet model size

According to the paper, MobileNet has 3.3 Million Parameters, which does not vary based on the input resolution. It means that the number of final model parameters should be larger than 3.3 Million, because of the fc layer.

When using RMSprop training strategy, the checkpoint file size should be almost 3 times as large as the model size, because of some auxiliary parameters used in RMSprop. You can use the inspect_checkpoint.py to figure it out.

  1. Slim multi-gpu performance problems

#1390 #1428

TODO

  • [x] Train on Imagenet
  • [x] Add Width Multiplier Hyperparameters
  • [x] Report training result
  • [ ] Intergrate into object detection task(in progress)

Reference

MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications

SSD-Tensorflow

SqueezeDet

Nearby in the ranking
Similar items