Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flann 1.9.2 is not deterministic #515

Open
oleg-alexandrov opened this issue Dec 8, 2023 · 1 comment
Open

Flann 1.9.2 is not deterministic #515

oleg-alexandrov opened this issue Dec 8, 2023 · 1 comment

Comments

@oleg-alexandrov
Copy link

Dear developers,

I upgraded from Flann 1.9.1 to 1.9.2, and now the results are no longer the same each time I run Flann.

I understand that Flann uses randomization, but until now the seed was always the same and the results were the same. The problem is maybe with this pull request: #424, but I am not sure.

Is there a way to FLANN so that each time it is called the results are the same? I tried setting the search params to use 1 core, but it did not help. Looks that the non-determinism is at the index building stage. Thanks.

@alexgoft
Copy link

function output is result, dists and not result, dists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants