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
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.