autofaiss
autofaiss copied to clipboard
Create mapping between list of image files and index creates with emebddings
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