pytorch-metric-learning
pytorch-metric-learning copied to clipboard
Accuracy for Face Identification, Need some examples for AccuracyCalculator
- 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