AdaFace icon indicating copy to clipboard operation
AdaFace copied to clipboard

What is the best similarity metric for AdaFace?

Open martinenkoEduard opened this issue 2 years ago • 3 comments

L2 or inner product/?

martinenkoEduard avatar Aug 19 '22 14:08 martinenkoEduard

It is a cosine similarity (same as inner product between two normalized vectors).

mk-minchul avatar Sep 10 '22 15:09 mk-minchul

It is a cosine similarity (same as inner product between two normalized vectors).

How do I normolize two vectors?

martinenkoEduard avatar Sep 12 '22 05:09 martinenkoEduard

@martinenkoEduard https://github.com/mk-minchul/AdaFace/blob/3a59069b9e5e67d3bfc0a1172a1799cee51208fc/net.py#L329

zivzone avatar Nov 28 '22 10:11 zivzone