neural-nuts / image-caption-generator

[DEPRECATED] A Neural Network based generative model for captioning images using Tensorflow
BSD 3-Clause "New" or "Revised" License
148 stars 57 forks source link

Index Error #28

Open jishan900 opened 6 years ago

jishan900 commented 6 years ago

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.