-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Wrong variable description in wiki Faiss building blocks: clustering, PCA, quantization? #2709
Comments
The codes are packed, see #2285 |
Thanks that explains all my shape problems.
|
I'm refering to the code at https://github.com/facebookresearch/faiss/wiki/Faiss-building-blocks:-clustering,-PCA,-quantization#example-pq-encoding--decoding
The 2nd and 3rd inputs in
faiss.ProductQuantizer
were cs and 8, however when checking https://github.com/bitsun/faiss-windows/blob/master/ProductQuantizer.h#L27 , the 3 inputs are d, M, nbits.Problem
I think the 2nd parameter M is number of segments and not
cs
code size as expressed on the wikiOther related questions
The text was updated successfully, but these errors were encountered: