RandLA-Net icon indicating copy to clipboard operation
RandLA-Net copied to clipboard

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

Open Qianyu1998 opened this issue 2 years ago • 3 comments

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

Qianyu1998 avatar May 24 '22 02:05 Qianyu1998

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

francy123456 avatar Nov 03 '22 08:11 francy123456

这个问题貌似只会出现在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: @.***>

Qianyu1998 avatar Nov 03 '22 08:11 Qianyu1998

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

francy123456 avatar Nov 04 '22 01:11 francy123456