soumith / inception.torch

Torch port of https://github.com/google/inception
Other
66 stars 20 forks source link

Difference in prediction scores #5

Open vimalthilak opened 8 years ago

vimalthilak commented 8 years ago

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

soumith commented 8 years ago

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