-
Notifications
You must be signed in to change notification settings - Fork 655
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
How can I ensure consistent results every time I run the code? I get different results each time I run the code #540
Comments
Search should be deterministic. Construction is not deterministic if using more than a single thread |
thanks for your reply |
I tried setting only one thread, but the results are still different every time |
Hm. That is strange. Is the data order is the same? |
the data order is the same.I used hnswlib in python. I tried calculating mutual nearest neighbors, but each time the same group of data is calculated, the quantity is different. |
here is the code: |
@Chengwei-Yan did you find anything here? |
How can I ensure consistent results every time I run the code? I get different results each time I run the code
The text was updated successfully, but these errors were encountered: