torch_cluster 点云聚类 torch_cluster安装pip install torch_cluster -f https://data.pyg.org/whl/torch-2.5.1cu124.html Successfully installed torch_cluster-1.6.3pt25cu124torch_cluster是 PyTorch GeometricPyG 的一个子模块它主要提供用于处理图神经网络GNN中的点云/邻接图聚类操作的高效 CUDA/C 实现。 常见用途torch_cluster提供以下功能主要用于图结构和点云数据中功能简要说明knn计算 k 最近邻k-nearest neighborsradius计算一定半径内的邻居点fpsFarthest Point Sampling远点采样常用于点云下采样graclus图聚类算法grid_cluster基于网格的点聚类knn_graph构建基于 k-NN 的图结构radius_graph构建基于距离的图结构linux测试成功pip install torch-cluster -f https://data.pyg.org/whl/torch-2.4.1cu124.html