MobileNetV3 in pytorch and ImageNet pretrained models.
kuan-wang/pytorch-mobilenet-v3 is ranked 13,624 with 806 stars.
Same-category comparison
kuan-wang/pytorch-mobilenet-v3 is ranked 13,624 among these 8 peers; GAIR-NLP/DeepResearcher is ranked 13,621.
Same-category comparison| Name | Rank | Metrics |
|---|
| nianticlabs/acezero | 13,613 | - Language:
- Python
- Stars:
- 808
- Forks:
- 56
- Description:
- [ECCV 2024 - Oral] ACE0 is a learning-based structure-from-motion approach that estimates camera parameters of sets of images by learning a multi-view consistent, implicit scene representation.
|
|---|
| nothinglo/Deep-Photo-Enhancer | 13,614 | - Stars:
- 808
- Forks:
- 110
- Description:
- TensorFlow implementation of the CVPR 2018 spotlight paper, Deep Photo Enhancer: Unpaired Learning for Image Enhancement from Photographs with GANs.
|
|---|
| astroautomata/SymbolicRegression.jl | 13,617 | - Language:
- Julia
- Stars:
- 807
- Forks:
- 136
- Description:
- Distributed High-Performance Symbolic Regression in Julia.
|
|---|
| GAIR-NLP/DeepResearcher | 13,621 | - Language:
- Python
- Stars:
- 806
- Forks:
- 54
- Description:
- Scaling Deep Research via Reinforcement Learning in Real-world Environments.
|
|---|
| parrt/tensor-sensor | 13,627 | - Language:
- Jupyter Notebook
- Stars:
- 806
- Forks:
- 39
- Description:
- The goal of this library is to generate more helpful exception messages for matrix algebra expressions for numpy, pytorch, jax, tensorflow, keras, fastai.
|
|---|
| titu1994/LSTM-FCN | 13,630 | - Language:
- Python
- Stars:
- 806
- Forks:
- 265
- Description:
- Codebase for the paper LSTM Fully Convolutional Networks for Time Series Classification.
|
|---|
| wuji3/Doraemon | 13,631 | - Language:
- Python
- Stars:
- 806
- Forks:
- 101
- Description:
- A powerful baseline for image classification, face recognition and image retrieval with Pytorch.
|
|---|
| EdinburghNLP/nematus | 13,633 | - Language:
- Python
- Stars:
- 805
- Forks:
- 264
- Description:
- Open-Source Neural Machine Translation in Tensorflow.
|
|---|
Key parameters and specifications
Key parameters and specifications| Parameter | Value |
|---|
| Language | Python |
|---|
| Category | Model Development |
|---|
| Subcategory | Architecture |
|---|
| Stars | 806 |
|---|
| Forks | 183 |
|---|
| Contributors | 1 |
|---|
| Created date | 2019-05-08 |
|---|
| Updated date | 2026-10-01 |
|---|
| Stars in 1 day | 0 |
|---|
| Stars in 7 days | 0 |
|---|
| Rank | 13,624 |
|---|
| Previous rank | 13,520 |
|---|
| Rank change | -104 |
|---|
| 7-day stars rank | 14,035 |
|---|
| Previous 7-day stars rank | 14,052 |
|---|
| 7-day stars rank change | 17 |
|---|
| Total stars rank | 13,266 |
|---|
| Previous total stars rank | 13,245 |
|---|
| Total stars rank change | -21 |
|---|
| Country | USA |
|---|
README summary
A PyTorch implementation of MobileNetV3 This is a PyTorch implementation of MobileNetV3 architecture as described in the paper Searching for MobileNetV3. Some details may be different from the original paper, welcome to discuss and help me figure it out. **[NEW]** The pretrained model of small version mobilenet-v3 is online, accuracy achieves the same as paper. **[NEW]** The paper updated on 17 May, so I renew the codes for that, but there still are some bugs. **[NEW]** I remove the
se before the global avg_pool (the paper may add it in error), and now the model size is close to paper. Training & Accuracy training setting: 1. learning rate schedule: cosine learning rate, initial lr=0. 38 M | - | - | Usage Pretrained models are still training . Data Pre-processing I used the following code for data pre-processing on ImageNet:
Frequently asked questions
How many stars and forks are recorded?
kuan-wang/pytorch-mobilenet-v3 has 806 stars and 183 forks.
What is the repository rank?
kuan-wang/pytorch-mobilenet-v3 is ranked 13,624.
What language and category are recorded?
kuan-wang/pytorch-mobilenet-v3 has 806 stars, uses Python and belongs to Model Development.
Which repository is closest in rank?
kuan-wang/pytorch-mobilenet-v3 is compared with GAIR-NLP/DeepResearcher, ranked 13,621 with 806 stars.
A PyTorch implementation of MobileNetV3
This is a PyTorch implementation of MobileNetV3 architecture as described in the paper Searching for MobileNetV3.
Some details may be different from the original paper, welcome to discuss and help me figure it out.
- [NEW] The pretrained model of small version mobilenet-v3 is online, accuracy achieves the same as paper.
- [NEW] The paper updated on 17 May, so I renew the codes for that, but there still are some bugs.
- [NEW] I remove the se before the global avg_pool (the paper may add it in error), and now the model size is close to paper.
Training & Accuracy
training setting:
- number of epochs: 150
- learning rate schedule: cosine learning rate, initial lr=0.05
- weight decay: 4e-5
- remove dropout
- batch size: 256
MobileNetV3 large
|
Madds |
Parameters |
Top1-acc |
Pretrained Model |
| Offical 1.0 |
219 M |
5.4 M |
75.2% |
- |
| Offical 0.75 |
155 M |
4 M |
73.3% |
- |
| Ours 1.0 |
224 M |
5.48 M |
72.8% |
- |
| Ours 0.75 |
148 M |
3.91 M |
- |
- |
MobileNetV3 small
|
Madds |
Parameters |
Top1-acc |
Pretrained Model |
| Offical 1.0 |
66 M |
2.9 M |
67.4% |
- |
| Offical 0.75 |
44 M |
2.4 M |
65.4% |
- |
| Ours 1.0 |
63 M |
2.94 M |
67.4% |
[google drive] |
| Ours 0.75 |
46 M |
2.38 M |
- |
- |
Usage
Pretrained models are still training ...
# pytorch 1.0.1
# large
net_large = mobilenetv3(mode='large')
# small
net_small = mobilenetv3(mode='small')
state_dict = torch.load('mobilenetv3_small_67.4.pth.tar')
net_small.load_state_dict(state_dict)
Data Pre-processing
I used the following code for data pre-processing on ImageNet:
normalize = transforms.Normalize(mean=[0.485, 0.456, 0.406],
std=[0.229, 0.224, 0.225])
input_size = 224
train_loader = torch.utils.data.DataLoader(
datasets.ImageFolder(
traindir, transforms.Compose([
transforms.RandomResizedCrop(input_size),
transforms.RandomHorizontalFlip(),
transforms.ToTensor(),
normalize,
])),
batch_size=batch_size, shuffle=True,
num_workers=n_worker, pin_memory=True)
val_loader = torch.utils.data.DataLoader(
datasets.ImageFolder(valdir, transforms.Compose([
transforms.Resize(int(input_size/0.875)),
transforms.CenterCrop(input_size),
transforms.ToTensor(),
normalize,
])),
batch_size=batch_size, shuffle=False,
num_workers=n_worker, pin_memory=True)