inception.torch icon indicating copy to clipboard operation
inception.torch copied to clipboard

Difference in prediction scores

Open vimalthilak opened this issue 9 years ago • 1 comments

Hi @soumith,

Thanks for providing a torch version of google/inception. I made predictions on the same image using caffe2-based ipython notebook and example.lua in this repository. I encountered a difference in the prediction score:

Input image is an example image in ILSVRC12 validation set whose ID is 00048000

th example.lua 

RESULTS (top-5):
----------------
score = 0.260391: n07720875 bell pepper (735)
score = 0.195900: n03461385 grocery store, grocery, food market, market (703)
score = 0.097373: n07753275 pineapple, ananas (322)
score = 0.091731: n07747607 orange (319)
score = 0.073422: n07717410 acorn squash (741)
# inception.ipynb'
Top five predictions:
   735 (prob 0.7066) synset n07720875 bell pepper
   741 (prob 0.0866) synset n07717410 acorn squash
   703 (prob 0.0740) synset n03461385 grocery store, grocery, food market, market
   322 (prob 0.0556) synset n07753275 pineapple, ananas
   840 (prob 0.0183) synset n03482405 hamper

Is there any reason why I'm noticing the difference? Thanks

vimalthilak avatar Feb 05 '16 20:02 vimalthilak

i am not sure either. but i have no interest investigating, considering that inception-v3.torch exists: https://github.com/Moodstocks/inception-v3.torch

soumith avatar Feb 05 '16 22:02 soumith