flann-lib / flann

Fast Library for Approximate Nearest Neighbors
http://people.cs.ubc.ca/~mariusm/flann
Other
2.21k stars 646 forks source link

different dists result on window vs ubuntu #497

Open awadsingh opened 2 years ago

awadsingh commented 2 years ago

Hi, i have created flann dll with help of visual studio ( calling from python code). running as below.

(indices, dists) = flann.nn(pts=x_r, qpts=x_r, .... random_seed=1234)

i also have build same flann code on linux(ubuntu) by gcc compiler and created libflann.so ( calling from python code).

issue is : i am getting different result on window vs linux with same inpu data set. can you suggest why i am getting different result.

Note : i am using the same Flann code.

cbldlpl commented 1 year ago

for the FLANN library uses random