autofaiss icon indicating copy to clipboard operation
autofaiss copied to clipboard

Create mapping between list of image files and index creates with emebddings

Open segalinc opened this issue 3 months ago • 0 comments

Is there a way to create a lookup table (dict/dataframe) that map the autofaiss index to the list of embeddings/filenames used to build the index? in my case I am passing to build_index the embddings matrix, but I would like to associate the trained index to the file list of the images related to the embeddings

segalinc avatar Apr 02 '24 22:04 segalinc