pytorch-metric-learning icon indicating copy to clipboard operation
pytorch-metric-learning copied to clipboard

Accuracy for Face Identification, Need some examples for AccuracyCalculator

Open f-izzat opened this issue 6 months ago • 1 comments

  • I have a dataset consisting 1000 identities, each with a varying number of face images (minimum 3).
  • I also have a trained face recognition model, say ArcFace to which for every single face image I have its embeddings.
  • How would I use the AccuracyCalculator, If i were to want to evaluate the model in retrieving the top 5 similar faces to the query?
  • Would I randomly select a single face image for each identity as a query then calculate its metrics?

Some examples in how the AccuracyCalculator could be used would be much appreciated

Thanks

f-izzat avatar Aug 06 '24 10:08 f-izzat