Algorithm failed on one case

Algorithm failed on one case  

  By: soyel on Aug. 28, 2024, 4:49 p.m.

My algorithm was able to test successfully on the interface of the upload container, but the upload in the competition test showed: Failed The algorithm failed on one or more cases. I want to know where I went wrong

 Last edited by: soyel on Aug. 28, 2024, 4:50 p.m., edited 1 time in total.

Re: Algorithm failed on one case  

  By: aneeqzia_isi on Aug. 28, 2024, 6:35 p.m.

Following are the error logs of your most recent submission:

2024-08-28T12:39:38.163000+00:00 Could not find an int in the string 'endoscopic-robotic-surgery-video'. 2024-08-28T12:39:43.169000+00:00 Traceback (most recent call last): 2024-08-28T12:39:43.169000+00:00 File "/opt/conda/lib/python3.10/runpy.py", line 196, in run_module_as_main 2024-08-28T12:39:43.169000+00:00 return _run_code(code, main_globals, None, 2024-08-28T12:39:43.169000+00:00 File "/opt/conda/lib/python3.10/runpy.py", line 86, in _run_code 2024-08-28T12:39:43.169000+00:00 exec(code, run_globals) 2024-08-28T12:39:43.169000+00:00 File "/opt/algorithm/process.py", line 201, in 2024-08-28T12:39:43.169000+00:00 Surgtoolloc_det().process() 2024-08-28T12:39:43.169000+00:00 File "/home/algorithm/.local/lib/python3.10/site-packages/evalutils/evalutils.py", line 183, in process 2024-08-28T12:39:43.169000+00:00 self.process_cases() 2024-08-28T12:39:43.169000+00:00 File "/home/algorithm/.local/lib/python3.10/site-packages/evalutils/evalutils.py", line 191, in process_cases 2024-08-28T12:39:43.169000+00:00 self._case_results.append(self.process_case(idx=idx, case=case)) 2024-08-28T12:39:43.169000+00:00 File "/opt/algorithm/process.py", line 100, in process_case 2024-08-28T12:39:43.169000+00:00 scored_candidates = self.predict(case.path) #video file > load evalutils.py 2024-08-28T12:39:43.169000+00:00 File "/opt/algorithm/process.py", line 185, in predict 2024-08-28T12:39:43.169000+00:00 "name": f"slice_nr", 2024-08-28T12:39:43.169000+00:00 UnboundLocalError: local variable 'class_name' referenced before assignment}_{class_name