Skip to content

Instantly share code, notes, and snippets.

@lelayf
Last active August 29, 2015 14:05
Show Gist options
  • Save lelayf/0337fc443ee8f68b3041 to your computer and use it in GitHub Desktop.
Save lelayf/0337fc443ee8f68b3041 to your computer and use it in GitHub Desktop.
Predict MNIST figures with Caffe trained model - Step 2 Launch
# save in $CAFFE_ROOT/examples/mnist
../../python/classify.py --model_def ./lenet.prototxt --pretrained_model ./lenet_iter_10000 --mean_file='' --images_dim 28,28 --gpu --channel_swap '0' ~/lehedge/mnist-predict-100-twos.npy foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment