Open Watebear opened 3 years ago
In model.py, when implement the arcface head, the code calculate like: phi = cos_theta - m, but in the papar, it should be : phi = cos_theta+m. In face, that is AM-softmax.
Are you sure that you saw it right, because the line phi = cos_theta - m is the in Am_softmax class and not Arcface.
phi = cos_theta - m
In model.py, when implement the arcface head, the code calculate like: phi = cos_theta - m, but in the papar, it should be : phi = cos_theta+m. In face, that is AM-softmax.