Predicting Generalization in Deep Learning Forum

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

> Float division by zero when scoring

Can someone please suggest potential causes for this error I get sometimes when running the scoring program?

score_dir: sample_score/
['task1_v4', 'task2_v1']
Read prediction from: sample_result_submission/task1_v4.predict
Read prediction from: sample_result_submission/task2_v1.predict
Traceback (most recent call last):
File "scoring_program/", line 218, in <module>
task_average_score = sum(task_scores)/float(len(task_scores))
ZeroDivisionError: float division by zero
This happens sometimes when I try to run the scoring program on predictions, and I'm not entirely sure why. I double checked that I did not accidentally modify the scoring program or ingestion program. Any help is appreciated!
Thank you!

Posted by: anican @ Sept. 3, 2020, 2:03 a.m.

Do you have a metadata in your .zip file?

Posted by: ydjiang @ Sept. 3, 2020, 3:09 a.m.

If you do, could you provide the time stamp of the submission?

Posted by: ydjiang @ Sept. 3, 2020, 3:11 a.m.

I am having the same issue. Has a solution for this issue been found?

Posted by: arsaljalib @ Oct. 4, 2020, 11:47 p.m.

Your submission does not have a metadata file.

Posted by: ydjiang @ Oct. 4, 2020, 11:49 p.m.
Post in this thread