COCO Detection Challenge (Bounding Box) Forum

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

> IndexError: list index out of range

I got the following error, which looks like it does not even have my file in resFiles.
I tried both file_name.json.zip file & putting the file inside a folder and then zipping it to folder_name.zip, but both failed (what is the right way?).
Also, I notice that in the 'Files' section (the sidebar under 'Participate') it says "No files have been added for this competition yet", so I am probably doing something wrong... (I uploaded my files in the course of the submission, is it the right thing to do?)

Any help would be highly appreciated!

WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
/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/tmpMLeQhn/run/program/run.py", line 111, in
with open(os.path.join(resDir, resFiles[0])) as data_file:
IndexError: list index out of range

Posted by: David_Frid @ Oct. 16, 2022, 7:24 a.m.

I solved the problem, and I share it here for the sake of future people that will encounter this error:
It turns out that filename must be predictions.zip. Otherwise, we get the aforementioned error.

Posted by: David_Frid @ Oct. 16, 2022, 9:16 a.m.
Post in this thread