Error Reconstructing FAISS Index
See original GitHub issueHiya! Thanks for making this library out in the open!
I’ve been trying to get your training wrapper working, but when it tries to generate the index, I get the following error:
RuntimeError: Error in virtual void faiss::Index::reconstruct(faiss::Index::idx_t, float*) const at /project/faiss/faiss/Index.cpp:48: reconstruct not implemented for this type of index
To reproduce, you can use this google colab: https://colab.research.google.com/drive/1BcOtBpWBGmXX_tOC7WKcHOa9SukWEKpf?usp=sharing
Any help with this would be greatly appreciated!
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:18 (9 by maintainers)
Top Results From Across the Web
Error reconstructing vector: direct map not initialized #374
Summary. I'm trying to get the closest vectors of a given ID that is already in the index. AFAIK Faiss does not contain...
Read more >Faiss Users | Hi,
Hi, This is my index: index = faiss. ... I got this error: ... and compute the distance from the query vector to...
Read more >Creating an index — autofaiss 1.0.0 documentation
This lib automatically builds an optimal index that maximizes the recall scores given a memory and query speed constraint. The build_index command ...
Read more >beniz/deepdetect - Gitter
My understanding is as follows with degree of confidence in between () : FAISS indexes with training once (certain), then support incremental indexing...
Read more >Recently Active 'faiss' Questions
I have a FAISS index populated with 8M embedding vectors. I don't have the embedding vectors anymore, only the index, and it is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
anyway here is the official recommendation https://github.com/facebookresearch/faiss/wiki/Comparing-GPU-vs-CPU
but in practice I’ve never seen a case where it’s beneficial to use GPU for faiss
faiss cpu is very fast
I recommend never using faiss gpu