Hi Sneha,
We just tried to do a submission, but received the following 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/tmpNup3fJ/run/program/evaluate.py", line 144, in
main()
File "/tmp/codalab/tmpNup3fJ/run/program/evaluate.py", line 28, in main
scores_per_sr_pair = evaluate_per_sr_pair(preds_fp, gts_fp)
File "/tmp/codalab/tmpNup3fJ/run/program/metric.py", line 167, in evaluate_per_sr_pair
p = precision(preds, gts)
File "/tmp/codalab/tmpNup3fJ/run/program/metric.py", line 80, in precision
if is_none_preds(preds):
File "/tmp/codalab/tmpNup3fJ/run/program/metric.py", line 36, in is_none_preds
list(preds)[0].lower() in {"", "none", "null"} or
AttributeError: 'NoneType' object has no attribute 'lower'
It seems that the evaluation script on CodaLab has trouble processing None. In our predictions.jsonl file, we represent NULL as empty strings ("") but the evaluation script interprets them as None.
list(preds)[0] is None)) or list(preds)[0].lower() in {"", "none", "null"}
Thank you!
Best,
Thiviyan