Image-Captioning
Image-Captioning copied to clipboard
terminate_id = tokens.index('<end>') ---- ValueError: '<end>' is not in list
Hi. While executing the test.py file. I am getting the following error.
terminate_id = tokens.index('')
ValueError: '
Any idea how to resolve this. because the end is actually on the list. Yet I am getting this error.
Hey, did you resolve this issue? I'm getting the same error
no, I wasn't. The code seem to have lot of problems.
But here i changed it somehow in python 3.7 and it seems to run and give somewhat fine result. https://drive.google.com/open?id=1RhYWPHbFahKxZC6mJm6Hld1ozySvFucj
Okay. Thanks