loicland / superpoint_graph

Large-scale Point Cloud Semantic Segmentation with Superpoint Graphs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError in 'NearestNeighbors(1, algorithm='kd_tree').fit(xyz)'

Pixie8888 opened this issue · comments

Dear authors,

When I running 'python partition/partition.py', an error occurred here in the partition/provider.py:
image

What is the value '1' mean in the NearestNeighbors()?

It depends on your version of sklearn. Replace with:

nn=NearestNeighbors(n_neighbors=1,algorithm='kd_tree').fit(xyz)

Thanks