The algorithm failed on one or more cases.

The algorithm failed on one or more cases.  

  By: stonemason on July 26, 2023, 6:24 a.m.

Dear organizers, Thanks for hosting this challenge. After submission, I encountered the problem "The algorithm failed on one or more cases." Could you help me to solve the problem? Best regards

Re: The algorithm failed on one or more cases.  

  By: giansteve on July 26, 2023, 8:13 a.m.

Hi,

your submission produced the following error: "TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType" and the following Traceback error:

2023-07-26T06:17:10.931000+00:00 Traceback (most recent call last):
2023-07-26T06:17:10.931000+00:00   File "/opt/conda/lib/python3.10/runpy.py", line 196, in _run_module_as_main
2023-07-26T06:17:10.931000+00:00     return _run_code(code, main_globals, None,
2023-07-26T06:17:10.931000+00:00   File "/opt/conda/lib/python3.10/runpy.py", line 86, in _run_code
2023-07-26T06:17:10.931000+00:00     exec(code, run_globals)
2023-07-26T06:17:10.931000+00:00   File "/opt/app/process.py", line 110, in <module>
2023-07-26T06:17:10.931000+00:00     Segaalgorithm().process()
2023-07-26T06:17:10.931000+00:00   File "/home/user/.local/lib/python3.10/site-packages/evalutils/evalutils.py", line 183, in process
2023-07-26T06:17:10.931000+00:00     self.process_cases()
2023-07-26T06:17:10.931000+00:00   File "/home/user/.local/lib/python3.10/site-packages/evalutils/evalutils.py", line 191, in process_cases
2023-07-26T06:17:10.931000+00:00     self._case_results.append(self.process_case(idx=idx, case=case))
2023-07-26T06:17:10.931000+00:00   File "/opt/app/process.py", line 42, in process_case
2023-07-26T06:17:10.931000+00:00     predictions = self.predict(input_image_file_path=input_image_file_path)
2023-07-26T06:17:10.931000+00:00   File "/opt/app/process.py", line 73, in predict
2023-07-26T06:17:10.931000+00:00     if os.path.exists(folder_path):
2023-07-26T06:17:10.931000+00:00   File "/opt/conda/lib/python3.10/genericpath.py", line 19, in exists
2023-07-26T06:17:10.931000+00:00     os.stat(path)
2023-07-26T06:17:10.931000+00:00 TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

I hope this helps Best Gian Marco