Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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 in Tensorboard run:

tensorboard --logdir=output