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
Hello, HuguesTHOMAS!
When I try to use the function cpp_neighbors.batch_query() function in some other scenes, I find a failure case that when the code goes into this function, the code will cause exit() without any warning information or error message (I don't know whether should I use other IDE to Debug the code in C++ instead of Pycharm). This situation will happens after several loops (In every loop I will call this function once),I checked the number of points (around 60000),It wasn't the biggest number (around 150000) compared with previous loops. I also checked whether there exists nan , inf, overflow or underflow in the points data, the answer is not.
I want to know that if there exists any using limitation of this function or there are some factors that I didn't noticed.
The text was updated successfully, but these errors were encountered:
The cpp functions is extremely hard to debug. The python debug mode wont work with them. You need to place cout in the cpp file to follow the code execution by printing stuff. Also you need to recompile the wrappers every time you change the cpp file. I had issues in the past and it took me quite some time to find the errors. Some ideas of possible mistakes:
The neighbor indices are negative or higher than the number of points
Hello, HuguesTHOMAS!
When I try to use the function cpp_neighbors.batch_query() function in some other scenes, I find a failure case that when the code goes into this function, the code will cause exit() without any warning information or error message (I don't know whether should I use other IDE to Debug the code in C++ instead of Pycharm). This situation will happens after several loops (In every loop I will call this function once),I checked the number of points (around 60000),It wasn't the biggest number (around 150000) compared with previous loops. I also checked whether there exists nan , inf, overflow or underflow in the points data, the answer is not.
I want to know that if there exists any using limitation of this function or there are some factors that I didn't noticed.
The text was updated successfully, but these errors were encountered: