net = caffe.Net(caffe_root + 'models/bvlc_reference_caffenet/deploy.prototxt',
caffe_root + 'models/bvlc_reference_caffenet/bvlc_reference_caffenet.caffemodel',
caffe.TEST)
It seems that the first parameter is the model definition, the second parameter is the pretrained model, and the 3rd third parameter is used to specified the test phrase. I am not sure whether I am right and I wonder whether there is some reference about this class? What if the definition of the model does not match the pretrained model?
And another question is in Caffe zoo, it usually provide a train_val.prototxt and a deploy.prototxt. For example, in https://github.com/BVLC/caffe/tree/master/models/bvlc_reference_caffenet there are both train_val.prototxt and deploy.prototxt. But the example use the deploy.prototxt in the above example. Same thing happens in https://github.com/BVLC/caffe/tree/master/models/bvlc_googlenet
My 2nd question is what is the difference between deploy.prototxt and train_val.prototxt?
Any help is appreciated! Thanks in advance!
Best wishes,
Yin
--
You received this message because you are subscribed to a topic in the Google Groups "Caffe Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/caffe-users/eCygJO2LG30/unsubscribe.
To unsubscribe from this group and all its topics, send an email to caffe-users...@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/982c6005-6049-4b3e-83fe-ed013176f8e3%40googlegroups.com.
