Microsoft COCO Image Captioning Challenge Forum

Go back to competition Back to thread list Post in this thread

> Evaluatin Error

The first time I submitted results for test2015, I got the error
Traceback (most recent call last):
File "/codalabtemp/tmpwWHgCE/run/program/cocoEvalCapCoda.py", line 48, in
elif not file.find(valset) == -1 and fileSplit[3] == 'results.json':
IndexError: list index out of range

The second time I got the error
Traceback (most recent call last):
File "/codalabtemp/tmpYeqj3O/run/program/cocoEvalCapCoda.py", line 59, in <module>
res = json.load(open(resFile))
IOError: [Errno 2] No such file or directory: '/codalabtemp/tmpYeqj3O/run/input/res/captions_test2014__results.json'

I did generate captions for all the 81434 test images, the val images are actually also covered by the test image set, what could be the problem?

Posted by: wenhuchen @ Sept. 28, 2016, 9:32 a.m.

Hi, I also got this error. Have you found the solutions?

Posted by: sophieag @ Nov. 21, 2016, 2:50 p.m.

May be you should not contain the folder named "results", just zip the two json files, and named it "results.zip".

Posted by: chenxp2311 @ Jan. 25, 2017, 5:38 a.m.
Post in this thread