anuragmishracse / caption_generator

A modular library built on top of Keras and TensorFlow to generate a caption in natural language for any input image.
MIT License
265 stars 120 forks source link

terminate_id = tokens.index('<end>') ---- ValueError: '<end>' is not in list #39

Open Shanzaay opened 4 years ago

Shanzaay commented 4 years ago

Hi. While executing the test.py file. I am getting the following error.

terminate_id = tokens.index('') ValueError: '' is not in list