I have checked my result file carefully and it is exactly the same format as test-valid/test-dev
But when I submitted my result to test-challenge it always show this error：
/opt/conda/lib/python2.7/site-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
Traceback (most recent call last):
File "/tmp/codalab/tmp9jJc0h/run/program/run_test.py", line 77, in
File "/tmp/codalab/tmp9jJc0h/run/program/pycocokp/coco.py", line 305, in loadRes
if 'caption' in anns:
IndexError: list index out of range
I think you zipped your result files in a folder. Please put all your .json result files in the root directory of the zip.Posted by: richardaecn @ Aug. 16, 2018, 5:30 p.m.
I also met with this problem. How could you solve this problem?
I met the same problem, and my zip file has .json file in its root.
Anybody has solution?Posted by: BenPark @ Aug. 17, 2018, 8:14 a.m.
I zip sucessfully uploaded and finishing evaluation.
two things i changed.
1. problem at image ids. i saved them as string.(it's my bad)
2. eliminate .(dot) in the middle of file name.
could you help delete the failed submission？Posted by: litttle_monster @ Aug. 18, 2018, 5:13 a.m.
I also met this error.
And I have tried to load the result file in local, it can success load it. Do anyone have any suggestion for it ?Posted by: leoxiaobin @ Sept. 30, 2019, 4:22 a.m.
Hi I met same error when submit val result as a submission study. I solved by doing the following:
(1) Zip your file directly, do not put it in a folder
(2) Make sure the key et al. is not string. Follow the data type in submission guideline.
(3) Remove the dict item not indicated in result format. For example, the guideline only has "category_id", "image_id", "keypoints" and "score".
I fixed this problem by putting all test2017 results in submitted json to test-challenge, instead of only challenge data(all test2017 - testdev).Posted by: duinodu @ Aug. 4, 2020, 2:23 p.m.