0votes
4 answersFAISS "AssertionError" (assert d == self.d) when adding or searching vectors
I built a FAISS index and it worked, but now index.search(query, k) (or index.add(...)) fails with an AssertionError pointing at assert d == self.d.

Find answers to your programming questions.
I built a FAISS index and it worked, but now index.search(query, k) (or index.add(...)) fails with an AssertionError pointing at assert d == self.d.