image-caption-generator icon indicating copy to clipboard operation
image-caption-generator copied to clipboard

Index Error

Open jishan900 opened this issue 7 years ago • 0 comments

python main.py --mode train Required Files not present. Regenerating Data. Loading Caption Data Dataset/results_20130124.token Traceback (most recent call last): File "main.py", line 55, in config.word_threshold, config.max_len, caption_file, feature_file) File "/home/jishan/Desktop/project/utils/data_util.py", line 116, in generate_captions captions = [caps.replace('\n', '').split('\t')[1] for caps in data] IndexError: list index out of range I faced this problem right now. I used bangla dataset but unfortunate got this problem. Please help me. Thanks.

jishan900 avatar Jun 18 '18 14:06 jishan900