lxq1000 / SwinFace

Official Pytorch Implementation of the paper, "SwinFace: A Multi-task Transformer for Face Recognition, Facial Expression Recognition, Age Estimation and Face Attribute Estimation"
MIT License
65 stars 7 forks source link

Questions about accuracy calculation #9

Open SYC-OldCat opened 1 month ago

SYC-OldCat commented 1 month ago

I want to know the formula for the accuracy of recognition. celeba, for example, has a total of forty human face attribute tags. The calculation of recognition accuracy for a batch is not, the number of correct predictions for 40 labels in the batch /batch*40