QingyongHu / RandLA-Net

🔥RandLA-Net in Tensorflow (CVPR 2020, Oral & IEEE TPAMI 2021)
Other
1.31k stars 321 forks source link

DP.knn_search查询的邻居结果错误 #221

Open Qianyu1998 opened 2 years ago

Qianyu1998 commented 2 years ago

image image 当我在windows上测试DP.knn_search时发现它查询到的邻居结果是错误的,请问要如何解决呀 image 但我在linux上测试又是正常的

francy123456 commented 2 years ago

我也遇到了同样的问题,请问您解决了吗?

Qianyu1998 commented 2 years ago

这个问题貌似只会出现在windows上,我在linux测试是正常的

在 2022-11-03 16:14:42,"francy123456" @.***> 写道:

我也遇到了同样的问题,请问您解决了吗?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

francy123456 commented 2 years ago

找到原因了,windows上编译之前,将knn.cxx, knn.h and knn.pyx中“long” 和 “np.long” 分别替换为 “long long” 和 “np.longlong”就可以了。https://github.com/QingyongHu/RandLA-Net/issues/73