comic / evalutils

evalutils helps users create extensions for grand-challenge.org
https://grand-challenge.org
MIT License
23 stars 9 forks source link

Could not serialize count: 101 as json #340

Closed JunMa11 closed 2 years ago

JunMa11 commented 2 years ago

Description

The evaluation is successful when making submissions on the open leaderboard, but I got the following log

2022-07-30T23:33:07.897000+00:00 /home/evaluator/.local/lib/python3.9/site-packages/evalutils/evalutils.py:589: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
2022-07-30T23:33:07.897000+00:00   self._case_results = self._case_results.append(
2022-07-30T23:33:07.897000+00:00 Could not serialize count: 101 as json, so converting 101 to int.
2022-07-30T23:33:07.897000+00:00 Could not serialize freq: 1 as json, so converting 1 to int.
2022-07-30T23:33:07.897000+00:00 Could not serialize count: 101 as json, so converting 101 to int.
2022-07-30T23:33:07.897000+00:00 Could not serialize freq: 1 as json, so converting 1 to int.

For the last four lines, are they warning or errors? How can I fix them?

Here is the complete log https://neurips22-cellseg.grand-challenge.org/evaluation/d44e45dd-960a-4400-a4af-9a50cade0fa4/

jmsmkn commented 2 years ago

They're warnings, if the type conversion is no issue then they can be ignored.