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

Using a built Annoy tree in a different device #660

Open
Kadir1997 opened this issue Dec 3, 2023 · 1 comment
Open

Using a built Annoy tree in a different device #660

Kadir1997 opened this issue Dec 3, 2023 · 1 comment

Comments

@Kadir1997
Copy link

Hello,
I am using the Annoy tree to create indexes of my embedded vectors and it works quite well when it's used by the same PC and has the same features, but when I try to load them in a different PC with the same Ubuntu, Python, and Annoy versions the returned nearest neighbors indexes is coming wrong, I made sure to set_seed with the same number before building and loading and use the same threads before building in both PC's but still not working, the size of the saved .ann file is different too, do you have any ideas why this is happening? I would love to have some help.

Thanks for all the hard work, best regards.

@erikbern
Copy link
Collaborator

erikbern commented Dec 4, 2023

That's odd – other than endianness, I can't think of anything that would cause the results to differ

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