the algorithm failed on one or more cases. ¶
By: tpvagenas on July 27, 2023, 10:24 p.m.
Could you tell me the error on the submission on July 27, 2023, 11:56 p.m.
By: giansteve on July 28, 2023, 8:16 a.m.
Hi,
I found some submissions from you. The most recent failed one has the following ID 3054a211-b4c2-4331-9587-b41f705f8b0e.
The produced error is: "AttributeError: 'PolyData' object has no attribute 'vertex_neighbors'" with the following traceback error:
2023-07-27T21:03:14.806000+00:00 Traceback (most recent call last):
2023-07-27T21:03:14.806000+00:00 File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
2023-07-27T21:03:14.806000+00:00 return _run_code(code, main_globals, None,
2023-07-27T21:03:14.806000+00:00 File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
2023-07-27T21:03:14.806000+00:00 exec(code, run_globals)
2023-07-27T21:03:14.806000+00:00 File "/opt/app/process.py", line 222, in <module>
2023-07-27T21:03:14.806000+00:00 Segaalgorithm().process()
2023-07-27T21:03:14.806000+00:00 File "/home/user/.local/lib/python3.8/site-packages/evalutils/evalutils.py", line 183, in process
2023-07-27T21:03:14.806000+00:00 self.process_cases()
2023-07-27T21:03:14.806000+00:00 File "/home/user/.local/lib/python3.8/site-packages/evalutils/evalutils.py", line 191, in process_cases
2023-07-27T21:03:14.806000+00:00 self._case_results.append(self.process_case(idx=idx, case=case))
2023-07-27T21:03:14.806000+00:00 File "/opt/app/process.py", line 123, in process_case
2023-07-27T21:03:14.806000+00:00 predictions = self.predict(input_image=input_image,filepath=input_image_file_path)
2023-07-27T21:03:14.806000+00:00 File "/opt/app/process.py", line 215, in predict
2023-07-27T21:03:14.806000+00:00 smoothed_mesh = trimesh.smoothing.filter_laplacian(mesh, lamb=0.5, iterations=10, implicit_time_integration=False, volume_constraint=True)
2023-07-27T21:03:14.806000+00:00 File "/home/user/.local/lib/python3.8/site-packages/trimesh/smoothing.py", line 51, in filter_laplacian
2023-07-27T21:03:14.806000+00:00 laplacian_operator = laplacian_calculation(mesh)
2023-07-27T21:03:14.806000+00:00 File "/home/user/.local/lib/python3.8/site-packages/trimesh/smoothing.py", line 278, in laplacian_calculation
2023-07-27T21:03:14.806000+00:00 neighbors = mesh.vertex_neighbors
2023-07-27T21:03:14.806000+00:00 File "/home/user/.local/lib/python3.8/site-packages/pyvista/core/dataset.py", line 129, in __getattr__
2023-07-27T21:03:14.806000+00:00 return super().__getattribute__(item)
2023-07-27T21:03:14.806000+00:00 AttributeError: 'PolyData' object has no attribute 'vertex_neighbors'
Best Gian Marco