anuragmishracse / caption_generator

A modular library built on top of Keras and TensorFlow to generate a caption in natural language for any input image.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Shanzaay opened this issue · comments

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

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