Algorithm failed in one or more cases ¶
By: ejmarcus on Jan. 16, 2022, 5:04 p.m.
Hi,
The latest algorithm that I submitted failed, could you provide me with an error message?
Thanks in advance!
By: ecemsogancioglu on Jan. 16, 2022, 8:01 p.m.
Hi,
The error is below:
Stderr 2022-01-16T11:13:27+00:00 Could not load nodules.json using . 2022-01-16T11:14:56+00:00 /home/algorithm/.local/lib/python3.7/site-packages/torch/functional.py:445: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:2157.) 2022-01-16T11:14:56+00:00 return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined] 2022-01-16T11:14:56+00:00 Traceback (most recent call last): 2022-01-16T11:14:56+00:00 File "/opt/conda/lib/python3.7/runpy.py", line 193, in _run_module_as_main 2022-01-16T11:14:56+00:00 "main", mod_spec) 2022-01-16T11:14:56+00:00 File "/opt/conda/lib/python3.7/runpy.py", line 85, in _run_code 2022-01-16T11:14:56+00:00 exec(code, run_globals) 2022-01-16T11:14:56+00:00 File "/opt/algorithm/process.py", line 209, in 2022-01-16T11:14:56+00:00 Nodulegeneration().process() 2022-01-16T11:14:56+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/evalutils/evalutils.py", line 183, in process 2022-01-16T11:14:56+00:00 self.process_cases() 2022-01-16T11:14:56+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/evalutils/evalutils.py", line 191, in process_cases 2022-01-16T11:14:56+00:00 self._case_results.append(self.process_case(idx=idx, case=case)) 2022-01-16T11:14:56+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/evalutils/evalutils.py", line 273, in process_case 2022-01-16T11:14:56+00:00 segmented_nodules = self.predict(input_image=input_image) 2022-01-16T11:14:56+00:00 File "/opt/algorithm/process.py", line 165, in predict 2022-01-16T11:14:56+00:00 max_iou, max_score = self.get_max_iou(prediction, targets[0]['boxes']) 2022-01-16T11:14:56+00:00 File "/opt/algorithm/process.py", line 113, in get_max_iou 2022-01-16T11:14:56+00:00 max_iou = max(iou_list) 2022-01-16T11:14:56+00:00 ValueError: max() arg is an empty sequence