deepinsight / deepinsight/insightface

How to find the best similarity threshold on my private dataset?

Open
#2,239 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
29.7k
Forks
6.1k
PR merge metrics
No merged PRs in 30d

Description

Hi, thanks for your impressive work on face recognition.

I have trained an FR model on the MS1MV2 dataset with ArcFace and test on my private dataset, I noticed that in the verification part, you find the best accuracy by grid searching threshold value between 0 and 4 with 0.01 diff point. The threshold with the best accuracy on my private dataset is 1.3480 which is larger than 1.

The problem is when I use the cosine similarity (Between -1 to 1) to determine whether the two images are from the same person, how can I find the similarity threshold with the best accuracy or meet the TAR@FAR requirement?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.