We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
code_size = 16 bindex = faiss.IndexBinaryIDMap2(faiss.IndexBinaryFlat(code_size)) n = 10 d = code_size // 8 ids = np.arange(n) x = np.zeros((n, d), dtype=np.uint8) bindex.add_with_ids(x, ids)
should be possible with
bindex = faiss.index_binary_factory("IDMap2,BFlat")
but index_binary_factory does not currently parse for IDMap2 like index_factory does: https://github.com/facebookresearch/faiss/blob/main/faiss/index_factory.cpp#L908
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
Reproduction instructions
should be possible with
but index_binary_factory does not currently parse for IDMap2 like index_factory does: https://github.com/facebookresearch/faiss/blob/main/faiss/index_factory.cpp#L908
The text was updated successfully, but these errors were encountered: