프로젝트
GitHub에서 보기
Randl/MobileNetV2-pytorch
소개
Impementation of MobileNetV2 in pytorch
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalMobileNetv2 in PyTorch
An implementation of MobileNetv2 in PyTorch. MobileNetv2 is an efficient convolutional neural network architecture for mobile devices. For more information check the paper:
Inverted Residuals and Linear Bottlenecks: Mobile Networks for Classification, Detection and Segmentation
Usage
Clone the repo:
git clone https://github.com/Randl/MobileNetV2-pytorch
pip install -r requirements.txt
Use the model defined in model.py to run ImageNet example:
python imagenet.py --dataroot "/path/to/imagenet/"
To run continue training from checkpoint
python imagenet.py --dataroot "/path/to/imagenet/" --resume "/path/to/checkpoint/folder"
Results
For x1.0 model I achieved 0.3% higher top-1 accuracy than claimed.
| Classification Checkpoint | MACs (M) | Parameters (M) | Top-1 Accuracy | Top-5 Accuracy | Claimed top-1 | Claimed top-5 |
|---|---|---|---|---|---|---|
| [mobilenet_v2_1.0_224] | 300 | 3.47 | 72.10 | 90.48 | 71.8 | 91.0 |
| [mobilenet_v2_0.5_160] | 50 | 1.95 | 60.61 | 82.87 | 61.0 | 83.2 |
You can test it with
python imagenet.py --dataroot "/path/to/imagenet/" --resume "results/mobilenet_v2_1.0_224/model_best.pth.tar" -e
python imagenet.py --dataroot "/path/to/imagenet/" --resume "results/mobilenet_v2_0.5_160/model_best.pth.tar" -e --scaling 0.5 --input-size 160
관련 프로젝트 살펴보기
불러오는 중…