Skip to content

Instantly share code, notes, and snippets.

@joelouismarino
Created July 30, 2017 04:10
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 joelouismarino/a4068d94b5f886f381b24166975d1307 to your computer and use it in GitHub Desktop.
Save joelouismarino/a4068d94b5f886f381b24166975d1307 to your computer and use it in GitHub Desktop.
import caffe
MODEL_DEF = 'path/to/train_val.prototxt'
MODEL_WEIGHTS = 'path/to/bvlc_googlenet.caffemodel'
net = caffe.Net(MODEL_DEF, MODEL_WEIGHTS, caffe.TEST)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment