Nearest neighbor module error!
missbook520 opened this issue · 3 comments
missbook520 commented
Asher-1 commented
this module does not support windows I think
aboulch commented
Hello sorry for late response,
As @Asher-1 said, the code has not been tested on Windows.
On Ubuntu, the following code seems to work:
batch_size = 1
num_points = 10
K = 3
pc = np.random.rand(batch_size, num_points, 3).astype(np.float32)
queries = np.ones((1,1,3), dtype=np.float32)
neigh_idx = nearest_neighbors.knn_batch(pc, queries, K, omp=True)
print("Queries", queries.shape)
print("PC", pc.shape)
print("Indices", neigh_idx.shape)
missbook520 commented
yeah,this work in ubuntu,thank you,Asher-1 and aboulch