Personal implementation of HBO Silicon Valley's app Hotdog or Not Hotdog
Personal implementation of HBO Silicon Valley’s app Not Hotdog ( Identifies if a given picture is a Hotdog or not )
I have used Google’s Inception model (2015) . Inception-v3 is trained for the ImageNet Large Visual Recognition Challenge using the data from 2012. The model classifies images to about 1000 classes.
The retraining is done by replacing last layer of this model. Training has been done with 450 pictures. Thus, accuracy for a certain images might be low. Better the dataset, better the result.
Prerequisites
Steps
Open a terminal and run the following commmand on any of the images in the Test images folder or any other image of your choice.
python label.py Test\ images/jianyang.jpeg
E.g. 1
(Wait for the prediction)
Result
**Result**
* hotdog = 0.99714
* not hotdog = 0.00286