star-gazers / seg_tooth

读入stl数据、分割单颗牙齿、把牙齿单独展示
12 stars 0 forks source link

运行了一下,data中的模型在计算最短路径时失败了 #3

Open 0ZzYy0 opened 2 years ago

0ZzYy0 commented 2 years ago

File "C:\Users\zy\Desktop\untitled.blend\__init__.py", line 88, in execute kmeans_init = self.kmeans_init) File "C:\Users\zy\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\mesh_segmentation\segmentation.py", line 166, in segment_mesh W = _create_affinity_matrix(mesh) File "C:\Users\zy\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\mesh_segmentation\segmentation.py", line 124, in _create_affinity_matrix W = scipy.sparse.csgraph.dijkstra(distance_matrix) File "_shortest_path.pyx", line 553, in scipy.sparse.csgraph._shortest_path.dijkstra File "D:\Program Files\Blender Foundation\Blender 2.83\2.83\python\lib\site-packages\numpy\core\numeric.py", line 332, in full a = empty(shape, dtype, order) numpy.core._exceptions.MemoryError: Unable to allocate array with shape (151842, 151842) and data type float64

Hq-422 commented 2 years ago

File "C:\Users\zy\Desktop\untitled.blend\__init__.py", line 88, in execute kmeans_init = self.kmeans_init) File "C:\Users\zy\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\mesh_segmentation\segmentation.py", line 166, in segment_mesh W = _create_affinity_matrix(mesh) File "C:\Users\zy\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\mesh_segmentation\segmentation.py", line 124, in _create_affinity_matrix W = scipy.sparse.csgraph.dijkstra(distance_matrix) File "_shortest_path.pyx", line 553, in scipy.sparse.csgraph._shortest_path.dijkstra File "D:\Program Files\Blender Foundation\Blender 2.83\2.83\python\lib\site-packages\numpy\core\numeric.py", line 332, in full a = empty(shape, dtype, order) numpy.core._exceptions.MemoryError: Unable to allocate array with shape (151842, 151842) and data type float64

您好,这个项目您最后运行成功了嘛?

Hq-422 commented 2 years ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

0ZzYy0 commented 2 years ago

File "C:\Users\zy\Desktop\untitled.blend\__init__.py", line 88, in execute kmeans_init = self.kmeans_init) File "C:\Users\zy\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\mesh_segmentation\segmentation.py", line 166, in segment_mesh W = _create_affinity_matrix(mesh) File "C:\Users\zy\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\mesh_segmentation\segmentation.py", line 124, in _create_affinity_matrix W = scipy.sparse.csgraph.dijkstra(distance_matrix) File "_shortest_path.pyx", line 553, in scipy.sparse.csgraph._shortest_path.dijkstra File "D:\Program Files\Blender Foundation\Blender 2.83\2.83\python\lib\site-packages\numpy\core\numeric.py", line 332, in full a = empty(shape, dtype, order) numpy.core._exceptions.MemoryError: Unable to allocate array with shape (151842, 151842) and data type float64

您好,这个项目您最后运行成功了嘛?

成功了,分的不是很理想

CuiwentongXu commented 1 year ago

File "C:\Users\zy\Desktop\untitled.blend\__init__.py", line 88, in execute kmeans_init = self.kmeans_init) File "C:\Users\zy\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\mesh_segmentation\segmentation.py", line 166, in segment_mesh W = _create_affinity_matrix(mesh) File "C:\Users\zy\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\mesh_segmentation\segmentation.py", line 124, in _create_affinity_matrix W = scipy.sparse.csgraph.dijkstra(distance_matrix) File "_shortest_path.pyx", line 553, in scipy.sparse.csgraph._shortest_path.dijkstra File "D:\Program Files\Blender Foundation\Blender 2.83\2.83\python\lib\site-packages\numpy\core\numeric.py", line 332, in full a = empty(shape, dtype, order) numpy.core._exceptions.MemoryError: Unable to allocate array with shape (151842, 151842) and data type float64

您好,这个项目您最后运行成功了嘛?

成功了,分的不是很理想

您好,请问项目中的运行参数都是什么格式的呀?

Hq-422 commented 1 year ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。