Hello,
I am trying to upload the result but I am having this error,
"""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_hCrJs/run/program/evaluate.py", line 50, in
scores = evalMultiClassTask(gold_file, submit_file)
File "/tmp/codalab/tmp_hCrJs/run/program/emoevales_evaluate.py", line 41, in evalMultiClassTask
GOLD_DATA[2] = GOLD_DATA.apply(lambda r: label2id[r['pred']], axis=1)
File "/opt/conda/lib/python2.7/site-packages/pandas/core/frame.py", line 3972, in apply
return self._apply_standard(f, axis, reduce=reduce)
File "/opt/conda/lib/python2.7/site-packages/pandas/core/frame.py", line 4064, in _apply_standard
results[i] = func(v)
File "/tmp/codalab/tmp_hCrJs/run/program/emoevales_evaluate.py", line 41, in
GOLD_DATA[2] = GOLD_DATA.apply(lambda r: label2id[r['pred']], axis=1)
KeyError: (nan, u'occurred at index 92')"""
I already verified that my data does not have NAN values.
From what I understand it is a problem with the gold data.
If so, could you remove my submit?
Best regards, thanks
This error is produced when the predictions submitted does not match fully the entries in the test file.
Please, check it.
Regards.
Hi,
Thanks for the response, I already check my predictions and I get this values
"""array(['others', 'joy', 'anger', 'surprise', 'sadness', 'disgust', 'fear'], dtype=object)""" those one are the same as train and dev data.
I don't know what could be wrong,
The error is with predictions or with the id?
Posted by: JorgeFlores @ May 20, 2021, 7:57 a.m.Dear participant,
I was referring to the number of samples, not to the number of labels. Samples in predictions must be all that are provided in the test set.
Regards.
Posted by: amontejo @ May 20, 2021, 8:54 a.m.Hi,
Sorry for being annoying but it has failed me again, I checked that I do not have empty lines at the end of the file and I have a total of 1626 predictions.
I do not know what I'm doing wrong,
Could you help me?
Thanks
Posted by: JorgeFlores @ May 20, 2021, 11:56 a.m.Hi again.
Send me your file through this address: amontejo@ujaen.es and I will check it.
Cheers.
Posted by: amontejo @ May 20, 2021, 3:33 p.m.Hi,
A participant told me how to fix it,
Could you delete my failure submission? please,
Thanks
Posted by: JorgeFlores @ May 20, 2021, 3:50 p.m.Done ;-)
Posted by: amontejo @ May 20, 2021, 4:52 p.m.