Home

Awesome

Show And Tell Keras Implementation

Keras implementation of Neural Image Caption Generator(NIC)

Related paper : Vinyals, Oriol, et al. "Show and tell: A neural image caption generator." computer vision and pattern recognition (2015): 3156-3164.

Trained on: Flickr8k

Inspired by :

Environment and Dependency

Code works well under these settings(Maybe also works well for other settings):

Model Architecture

<img src="./pics/model.png" width="90%" height="90%">

Model weights

Performance

(Use beam search size=5)

Evaluation by evaluate.py

BLEU-1 0.608 <br/>BLEU-2 0.419</br>BLEU-3 0.272<br/>BLEU-4 0.184</br>

Evaluation by pycocoevalcap

CIDEr: 0.532<br/>Bleu_4: 0.210</br>Bleu_3: 0.305<br/>Bleu_2: 0.442</br>Bleu_1: 0.625<br/>ROUGE_L: 0.460</br> METEOR: 0.202<br/>SPICE: 0.144</br>

Examples:

TensorBoardCaption