Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 625 Bytes

File metadata and controls

31 lines (25 loc) · 625 Bytes

Tensorflow training framework

Follow the example in dataset/mnist.py and model/convnet_classifier.py for examples of how to define custom datasets and models.

Install dependencies

pip install tensorflow numpy pillow matplotlib six

Mnist

To download the mnist dataset run:

python -m dataset.mnist convert

Run the following to visualize an example:

python -m dataset.mnist visualize

Usage

To train an mnist classification model run:

python -m main --model=convnet_classifier --dataset=mnist

To visualize the training logs on Tensorboard run:

tensorboard --logdir=output