Faiss: Index for images

Created on 19 Mar 2020  路  4Comments  路  Source: facebookresearch/faiss

Hi, what is the best index for using faiss on images. Using indexflatIP the similarity of images aren't good. Is there any specific indexes such that I can use it for images.
Thank you.

question

Most helpful comment

Constructing a vector representation appropriate for an image (e.g., from SIFT vectors, CNN features or something else) is outside the scope of the Faiss library. These vector representations can be passed to a Faiss index, but how these are generated is up to you.

All 4 comments

Constructing a vector representation appropriate for an image (e.g., from SIFT vectors, CNN features or something else) is outside the scope of the Faiss library. These vector representations can be passed to a Faiss index, but how these are generated is up to you.

I have already constructed the image vector from VGG16 architecture that is (224,224,3). As I mentioned I am also getting similar images for the given images but my question is which index can be used for better similarity of images as you know the faiss has lot of different indexes.

The answer is the same as for generic vectors see: https://github.com/facebookresearch/faiss/wiki/Guidelines-to-choose-an-index

Okay thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wwmmqq picture wwmmqq  路  3Comments

0DF0Arc picture 0DF0Arc  路  3Comments

ilyakhov picture ilyakhov  路  3Comments

lukedeo picture lukedeo  路  3Comments

Ljferrer picture Ljferrer  路  3Comments