Skip to content

Instantly share code, notes, and snippets.

@bigsnarfdude
Last active December 19, 2016 05:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bigsnarfdude/6846c8930196b662e21c35ff75a6f73b to your computer and use it in GitHub Desktop.
Save bigsnarfdude/6846c8930196b662e21c35ff75a6f73b to your computer and use it in GitHub Desktop.
[cifar10] basics of training and eval and tensorboard
# clone the repo
git clone https://github.com/tensorflow/tensorflow.git
# change directory to root of cifar10 tutorial code
cd tensorflow/tensorflow/models/image/cifar10/
# train tensorflow cifar model
python cifar10_train.py
# start tensorboard
tensorboard --logdir=/tmp/cifar10_data
# open browser to view tensorboard
open http://localhost:6006
# run for around 340,000 steps
# after training and monitoring on tensorboard
# evaluate model performance
python cifar10_eval.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment