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
Faiss does not transparently convert numpy int64 and float64 / float32 to SWIG's int and float
import faiss import numpy as np a = np.array([4, 6]) d = a[0] faiss.IndexFlatL2(d) # fails faiss.IndexFlatL2(int(d)) # works
It should be possible to fix it with SWIG typemaps
The text was updated successfully, but these errors were encountered:
Related to #3628?
Sorry, something went wrong.
No it's a different issue.
No branches or pull requests
Faiss does not transparently convert numpy int64 and float64 / float32 to SWIG's int and float
It should be possible to fix it with SWIG typemaps
The text was updated successfully, but these errors were encountered: