[TensorFlow] Running TensorFlow Slim

Example

python download_and_convert_data.py –dataset_name=mnist –dataset_dir=~/dataset/mnist

python train_image_classifier.py –train_dir=./lenet –dataset_name=mnist –dataset_split_name=train –dataset_dir=~/dataset/mnist –model_name=lenet

tensor board –logdir=./lenet

python train_image_classifier.py –train_dir=./lenet –dataset_name=mnist –dataset_split_name=train –dataset_dir=~/dataset/mnist –model_name=lenet –checkpoint_path=./lenet –checkpoint_exclude_scope=? –trainable_scopes=?

python eval_image_classifier.py –alsologtostderr –dataset_name=mnist –dataset_split_name=test –dataset_dir=~/dataset/mnist –model_name=lenet –checkpoint_path=./lenet

Reference

https://github.com/tensorflow/models/tree/master/research/slim#Eval

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.