- Notifications
You must be signed in to change notification settings - Fork81
Unofficial implementation of MobileNetV3 architecture described in paper Searching for MobileNetV3.
License
NotificationsYou must be signed in to change notification settings
Bisonai/mobilenetv3-tensorflow
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Unofficial implementation of MobileNetV3 architecture described in paperSearching for MobileNetV3.This repository containssmall andlarge MobileNetV3 architecture implemented using TensforFlow withtf.keras API.
- Python 3.6+
- TensorFlow 1.13+
pip install -r requirements.txt
frommobilenetv3_factoryimportbuild_mobilenetv3model=build_mobilenetv3("small",input_shape=(224,224,3),num_classes=1001,width_multiplier=1.0,)
frommobilenetv3_factoryimportbuild_mobilenetv3model=build_mobilenetv3("large",input_shape=(224,224,3),num_classes=1001,width_multiplier=1.0,)
python train.py \ --model_type small \ --width_multiplier 1.0 \ --height 128 \ --width 128 \ --dataset cifar10 \ --lr 0.01 \ --optimizer rmsprop \ --train_batch_size 256 \ --valid_batch_size 256 \ --num_epoch 10 \ --logdir logdir
python train.py \ --model_type small \ --width_multiplier 1.0 \ --height 128 \ --width 128 \ --dataset mnist \ --lr 0.01 \ --optimizer rmsprop \ --train_batch_size 256 \ --valid_batch_size 256 \ --num_epoch 10 \ --logdir logdir
python evaluate.py \ --model_type small \ --width_multiplier 1.0 \ --height 128 \ --width 128 \ --dataset cifar10 \ --valid_batch_size 256 \ --model_path mobilenetv3_small_cifar10_10.h5
python evaluate.py \ --model_type small \ --width_multiplier 1.0 \ --height 128 \ --width 128 \ --dataset mnist \ --valid_batch_size 256 \ --model_path mobilenetv3_small_mnist_10.h5
Graph, training and evaluaion metrics are saved to TensorBoard event file uder directory specified with --logdir` argument during training.You can launch TensorBoard using following command.
tensorboard --logdir logdir
About
Unofficial implementation of MobileNetV3 architecture described in paper Searching for MobileNetV3.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.