nmslib/hnswlib

Normalization of CLIP Vectors Before Storing in Milvus for Cosine Similarity

Bruc3Stark opened this issue · 1 comments

After vectors are transformed by the CLIP model, do they need to be normalized before being stored in Milvus? If they are stored in the database without normalization, will it affect the results when calculating cosine similarity?

No, it should affect it if you use cosine. I am not totally sure about milvus, but this is the case for hnswlib