insightface icon indicating copy to clipboard operation
insightface copied to clipboard

Do We Need to Normalize the Output?

Open Malikanhar opened this issue 3 years ago • 2 comments

I saw that you are normalizing the embedding output here. Do we need to normalize the embedding? Since, if I removed the normalization part, the performance drop significantly. But, how does it run on the real-time implementation if we need to normalize the embedding? Thank you

Malikanhar avatar Jun 15 '22 08:06 Malikanhar

We must normalize the embedding before comparing them.

nttstar avatar Jun 17 '22 08:06 nttstar

Are you using min-max normalization? So if I only have 2 embeddings, before comparing these embeddings, I have to normalize it first?

Malikanhar avatar Jun 18 '22 03:06 Malikanhar