This is the inference of the show and tell model using inception V3 trained on mscoco dataset learn more https://www.cv-foundation.org/openaccess/content_cvpr_2015/papers/Vinyals_Show_and_Tell_2015_CVPR_paper.pdf
- Tensorflow
- PIL
- numpy
- clone the git repository and extract it.
- download the pre trained .pb file https://drive.google.com/file/d/1_AH6KCuk8ZiwPln9KnIaW6_KruDORn4e/view?usp=drivesdk .
- move the optimized.pb to the same folder.
by now folder structure should look like
--dictionary.txt
--model.py
--show_and_tell.py
--optimized.pb
Make sure the path of the image file should not contain white spaces
python show_and_tell.py path_of_image_file