Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Latest commit

 

History

History
 
 

MobileNetV1-Imagenette

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

MobileNet with Imagenette

This example demonstrates how to train the MobileNet v1 network against the Imagenette image classification dataset.

A MobileNet (version 1) network is instantiated from the ImageClassificationModels library of standard models, and applied to an instance of the Imagenette dataset. A custom training loop is defined, and the training and test losses and accuracies for each epoch are shown during training.

Setup

To begin, you'll need the latest version of Swift for TensorFlow installed. Make sure you've added the correct version of swift to your path.

To train the model, run:

cd swift-models
swift run -c release MobileNetV1-Imagenette