how to use a trianed model like alexnet

108 views
Skip to first unread message

zho...@ihoment.com

unread,
Mar 21, 2017, 9:59:23 PM3/21/17
to Caffe Users
I downloaded the alexnet model,and I want to try it.

python ./python/classify.py --pretrained_model=models/bvlc_alexnet/bvlc_alexnet.caffemodel --model_def=models/bvlc_alexnet/deploy.prototxt --mean_file "" ~/334.jpeg out

it get a out.npy
I loaded it with np.load()
it shows a array,I dont know what it mean.

any one can help me ?

what's more. I also want to try the MNIST caffemodel file. but I cant use it with the ./python/classify.py script

Evan Shelhamer

unread,
Apr 12, 2017, 2:09:09 AM4/12/17
to zho...@ihoment.com, Caffe Users
Follow the ipython notebooks bundled with Caffe, like this one on how to run a pre-trained net for image classification http://nbviewer.jupyter.org/github/BVLC/caffe/blob/master/examples/00-classification.ipynb

Evan Shelhamer





--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users+unsubscribe@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/60346101-dced-45a9-b401-da6558feedb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages