Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The code of ArcFace is the same as that of SphereFace : ( #16

Open
WintrumWang opened this issue Apr 25, 2020 · 1 comment
Open

The code of ArcFace is the same as that of SphereFace : ( #16

WintrumWang opened this issue Apr 25, 2020 · 1 comment

Comments

@WintrumWang
Copy link

And if the parameter m is set like 4, the label must be leaked, because the training accuracy, validation accracy and test accuracy are all 1.0 even in the 1st epoch!

@SerChirag
Copy link

In case of ArcFace :
target_logits = tf.cos(theta + self.m)

In case of SphereFace :
target_logits = tf.cos(self.m * theta)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants