WIDER Face & Pedestrain Challenge - Track 2: Pedestrian Detection Forum

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

> Errors about submit results

When I try to submit my results, I have the result file named test.solution with 3491 lines, same as the number of test records, and each line just contains the label. Then I zip the test.solution into the test.zip file, and I got the Failed status with the following message:

WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
Traceback (most recent call last):
File "/tmp/codalab/tmp_LkMlg/run/program/score.py", line 273, in
score_file.write(('set2_score' + ": %0.12f\n" % score2).encode())
NameError: name 'score2' is not defined

I have tried twice, but I still don't know how to handle this.
By the way, does the MacOS or Windows/Linux os have affect on this?

Posted by: cococold @ Sept. 19, 2019, 2:23 p.m.

Hi,

Sorry, the file should be named .predict not .solution.

If you change to this format it should work.

Thank you for letting me know

Best,
Lucas.

Posted by: lucaschaves @ Sept. 19, 2019, 2:40 p.m.

Hi Lucas,

I am trying to submit as well and getting the same error. I have zipped a text file named test.predict for submission. Each label is on its own line.

Posted by: jeswan @ May 12, 2020, 5:43 p.m.

Hi,

Please make sure that the .predict file inside of your zip is not inside any folder. When you open the zip file it should show the file and not a folder, e.g. test.predict.
Also, the file should contain 3491 lines.

If the problem persists, please do not hesitate to contact me again!
Best,
Lucas.

Posted by: lucaschaves @ May 12, 2020, 6:09 p.m.

Hi,

I just checked your last submission that failed to go through.
Indeed, your submission file name is test.predict. However, your submission contains 3490 lines which could be the problem. In addition, macOS generate an additional "hidden folder" in the .zip called __MACOSX that is only shown in different OS, this could also be the reason.

Could you please try removing both and re-submitting?
Best,
Lucas
Thank you!

Posted by: lucaschaves @ May 12, 2020, 6:17 p.m.

My issue was removing a line with bad formatting resulting in 1 less line. Works now!

Posted by: jeswan @ May 12, 2020, 6:27 p.m.

Great! :)

Posted by: lucaschaves @ May 12, 2020, 6:30 p.m.
Post in this thread