ydwen / opensphere

A hyperspherical face recognition library based on PyTorch
https://opensphere.world/
MIT License
270 stars 29 forks source link

Question about universal threshold in Sphereface2. #38

Open JuseokSeong opened 2 weeks ago

JuseokSeong commented 2 weeks ago

Thank you for the nice work!

I wonder if it is possible to use the universal threshold b proposed in SphereFace2 as an actual threshold? (Can it be used like the Threshold exemplified in Figure 2(b) of the paper?)

We set -b/r as the threshold and compared it with the similarity score. However, it does not yield good performance. (We used universal threshold b obtained after training and r (in eq. 4))

If there are any related codes or methods, please let me know.