Traceback (most recent call last): File "dense_pcd.py", line 7, in <module> create_dense_point_cloud(model_root, save_root) File "/home/chao/anaconda3/envs/suctionnet/lib/python3.7/site-packages/suctionnetAPI/create_dense_pcd.py", line 33, in create_dense_point_cloud v_poisson, n_poisson = pcu.sample_mesh_poisson_disk(v, f, n, num_samples=-1, radius=0.0002, use_geodesic_distance=True) TypeError: sample_mesh_poisson_disk(): incompatible function arguments. The following argument types are supported: 1. (v: numpy.ndarray, f: numpy.ndarray, num_samples: int, radius: float = 0.0, use_geodesic_distance: bool = True, best_choice_sampling: bool = True, random_seed: int = 0, sample_num_tolerance: float = 0.04, oversampling_factor: float = 40.0) -> Tuple[object, object]
时间: 2024-04-29 13:19:46 浏览: 106
linux 下 pip3 报错“ File “/usr/bin/pip3”, line 9, in from pip import mainImportError: canno”处理
5星 · 资源好评率100%
这是一个 Python 错误信息,看起来是 create_dense_pcd.py 中的 sample_mesh_poisson_disk 函数调用出错了。错误信息中提到该函数支持的参数类型,但是传入的参数类型与支持的不一致。需要检查传入该函数的参数类型是否正确,或者尝试更改函数的参数类型以适应当前的参数。
阅读全文