Regards,
Mohit
--
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/ApD180RMDy8/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/a1378bf5-2e31-45a5-aba8-85550b304245%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Classifier.predict
does oversampling and callsNet.forward_all
: https://github.com/BVLC/caffe/blob/master/python/caffe/classifier.py#L47To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/c10df013-278f-458b-8428-e436506a0a62%40googlegroups.com.
Posting solution :
Thanks to Sean for the reply on Github :
Yes, the two are very different, and you should expect different answers. Look at the code --Classifier.predict
does oversampling and callsNet.forward_all
: https://github.com/BVLC/caffe/blob/master/python/caffe/classifier.py#L47
On Fri, Feb 12, 2016 at 11:25 PM Alex Orloff <gadgy...@gmail.com> wrote:
It's not so easy to find a reason.Exmple, Classifier() uses mean of 10 crops. Net() - dunno.
On Friday, February 12, 2016 at 8:37:15 PM UTC+3, Mohit Jain wrote:Yes I do. The one that comes as standard with the ILSVRC12 (python/caffe/imagenet/ilsvrc_2012_mean.npy).On Fri, Feb 12, 2016 at 11:03 PM Alex Orloff <gadgy....@gmail.com> wrote:do you use same imagemean?--
On Friday, February 12, 2016 at 8:26:04 PM UTC+3, Mohit Jain wrote:Hi,
Is there a difference in the way the predictions work in the case of caffe.Classifier() and caffe.Net()? I have an image (linked below) that when run in the caffe-example (classification.ipynb) gives a prediction of class 287 (net.predict([img]).argmax()). However, if I use this image in the another example (filter_visualization.ipynb) the class probabilites (net.blobs['prob'].argmax()) comes out to be 2! Is there something trivial that I am missing or this really shouldn't be happening? Which of these is the correct classification if at all one is correct?Regards,
Mohit
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/ApD180RMDy8/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/a1378bf5-2e31-45a5-aba8-85550b304245%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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/ApD180RMDy8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to caffe...@googlegroups.com.