facebookresearch / faiss

A library for efficient similarity search and clustering of dense vectors.

Home Page:https://faiss.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

in method 'Index_d_get', argument 1 of type 'faiss::Index *'

MrzEsma opened this issue · comments

Hi. i am using faiss-cpu in python on ubuntu OS. after load a index when i search a query assign function i get this Error. It is strange that this error occurs when it is on production and it is ok on local. in production we use fastapi docker that wrote tiangolo.

similar_products = self.model.assign(embed, self.k)

i understand it. with version == 1.7.2 it's ok. It was because of the new update and there was a problem on version 1.7.3