> Problem submitting results at Learning Phase

I followed presumed format of the result file: 7004 lines of 'C_D's where C and D are for the predicted label of Nth sample in validation set, ranged from N to 7.
Rename the result file to predictions.txt and zipped it to predictions.zip, then submitted the compressed file. But I keep getting `Wrong nr of lines` error, what dose it mean?

What's the correct format for the results to be submitted?

The traceback of the exception is listed below:
Traceback (most recent call last):
File "/codalabtemp/tmp3juBwh/run/program/evaluate.py", line 22, in
score=distance(submit_dir,truth_dir)
File "/codalabtemp/tmp3juBwh/run/program/jjtest.py", line 16, in distance
raise MyError("Wrong nr of lines")
jjtest.MyError: 'Wrong nr of lines'

Posted by: szhou @ Feb. 15, 2017, 8:50 a.m.

Hi!

The number of lines should be 7000. There were some previous forum posts about this topic, however just erase the lines for samples in this file https://drive.google.com/drive/u/0/folders/0B_W3ikdrvowVd2JsUk1HLVBrYjA . After that it should be fine. Sorry for the inconvenience.

Posted by: icv @ Feb. 15, 2017, 9:47 a.m.

Dear icv,

Thank you! I did't notice the list was updated.

The problem solved and I have successfully submitted my result.

Posted by: szhou @ Feb. 15, 2017, 10:18 a.m.
Post in this thread