2022-08-30T20:01:07.276000+00:00 /opt/conda/lib/python3.7/site-packages/torch/functional.py:478: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at /opt/conda/conda-bld/pytorch_1656352464346/work/aten/src/ATen/native/TensorShape.cpp:2894.)
2022-08-30T20:01:07.276000+00:00 return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
2022-08-30T20:01:07.276000+00:00 Traceback (most recent call last):
2022-08-30T20:01:07.276000+00:00 File "/opt/conda/lib/python3.7/runpy.py", line 193, in _run_module_as_main
2022-08-30T20:01:07.276000+00:00 "main", mod_spec)
2022-08-30T20:01:07.276000+00:00 File "/opt/conda/lib/python3.7/runpy.py", line 85, in _run_code
2022-08-30T20:01:07.276000+00:00 exec(code, run_globals)
2022-08-30T20:01:07.276000+00:00 File "/opt/algorithm/process.py", line 245, in
2022-08-30T20:01:07.276000+00:00 Surgtoolloc_det().process()
2022-08-30T20:01:07.276000+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/evalutils/evalutils.py", line 183, in process
2022-08-30T20:01:07.276000+00:00 self.process_cases()
2022-08-30T20:01:07.277000+00:00 File "/home/algorithm/.local/lib/python3.7/site-packages/evalutils/evalutils.py", line 191, in process_cases
2022-08-30T20:01:07.277000+00:00 self._case_results.append(self.process_case(idx=idx, case=case))
2022-08-30T20:01:07.277000+00:00 File "/opt/algorithm/process.py", line 131, in process_case
2022-08-30T20:01:07.277000+00:00 scored_candidates = self.predict(case.path) #video file > load evalutils.py
2022-08-30T20:01:07.277000+00:00 File "/opt/algorithm/process.py", line 227, in predict
2022-08-30T20:01:07.277000+00:00 mixed = self.replace_tools_w_parts(tools, parts)
2022-08-30T20:01:07.277000+00:00 File "/opt/algorithm/process.py", line 182, in replace_tools_w_parts
2022-08-30T20:01:07.277000+00:00 tool_index = torch.argmax(iou).item()
2022-08-30T20:01:07.277000+00:00 IndexError: argmax(): Expected reduction dim to be specified for input.numel() == 0.