Value Error With Faiss Index #2875
Unanswered
debuggedcoder
asked this question in
Questions
Replies: 1 comment
-
Hi @debuggedcoder did you have a chance to look at this related and answered discussion #2742? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am having following error while using haystack. I have looked for solution but couldn't get any.
ValueError Traceback (most recent call last)
in ()
1 # Initialize FAISS document store.
2 # Set
return_embedding
toTrue
, so generator doesn't have to perform re-embedding----> 3 document_store = FAISSDocumentStore(faiss_index_factory_str="Flat", return_embedding=True)
4
5 # Initialize DPR Retriever to encode documents, encode question and query documents
ValueError: The number of documents present in the SQL database (999) does not match the number of embeddings in FAISS (0). Make sure your FAISS configuration file correctly points to the same database that was used when creating the original index.
Beta Was this translation helpful? Give feedback.
All reactions