MIND News Recommendation Competition Forum

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

> Submission in test phase always fails with a cryptic error

Every time I submit the model prediction for the test set, it always fails with the following error:
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. /tmp/codalab/tmpDabQNd/run/program/evaluate.py:17: VisibleDeprecationWarning: boolean index did not match indexed array along dimension 0; dimension is 61 but corresponding boolean dimension is 7 false_score = score[label==0] /tmp/codalab/tmpDabQNd/run/program/evaluate.py:18: VisibleDeprecationWarning: boolean index did not match indexed array along dimension 0; dimension is 61 but corresponding boolean dimension is 7 positive_score = score[label==1] Traceback (most recent call last): File "/tmp/codalab/tmpDabQNd/run/program/evaluate.py", line 125, in auc, mrr, ndcg, ndcg10,mrrs = scoring(truth_file, submission_answer_file) File "/tmp/codalab/tmpDabQNd/run/program/evaluate.py", line 91, in scoring mrr = mrr_score(y_true,y_score) File "/tmp/codalab/tmpDabQNd/run/program/evaluate.py", line 36, in mrr_score y_true = np.take(y_true, order) File "/opt/conda/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 124, in take return take(indices, axis, out, mode) IndexError: index 19 is out of bounds for size 7

Did the submission format change in the test phase?
Anyone else having this problem?

Thank you,
Nuno

Posted by: ngcferreira @ Aug. 23, 2020, 11:46 a.m.
Post in this thread