You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't cosine <[-1, 1], [1, -1]> equal -1, and cosine <[-1, 1], [1, 1]> equal 0? Why the two nearset points to point 1 are 0, 2 instead of 0, 3.
Besides, why does point 3 have three nearest neighbors instead of two?
Hi, I got some trouble while using torch_clsuter.knn_graph.
When I run this code, it gives the following results.
Shouldn't cosine <[-1, 1], [1, -1]> equal -1, and cosine <[-1, 1], [1, 1]> equal 0? Why the two nearset points to point 1 are 0, 2 instead of 0, 3.
Besides, why does point 3 have three nearest neighbors instead of two?
Versions:
python 3.7.4
pytorch 1.2.0
torch-cluster 1.4.5
The text was updated successfully, but these errors were encountered: