You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
Thanks for your great implementation. Im trying to understand the mathematics behind the ArcFace in your implementation.
But when I read to this line the metrics.py logits = logits * (1 - y) + target_logits * y
I don't understand the link behind this line and the original paper. The code looks like the cross entropy loss before going to the Softmax function, but if if the cross entropy, should it have the log inside? AIm not sure about this part very much. Can you help me to understand it?
Many thanks
The text was updated successfully, but these errors were encountered:
@vmthanh I believe that line is assigning the value of cosine distance to the logits of the incorrect classes and cosine+margin to the logits of the correct one.
Hi.
Thanks for your great implementation. Im trying to understand the mathematics behind the ArcFace in your implementation.
But when I read to this line the metrics.py
logits = logits * (1 - y) + target_logits * y
I don't understand the link behind this line and the original paper. The code looks like the cross entropy loss before going to the Softmax function, but if if the cross entropy, should it have the log inside? AIm not sure about this part very much. Can you help me to understand it?
Many thanks
The text was updated successfully, but these errors were encountered: