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

How to undersatand the weight? #41

Open
taylover-pei opened this issue Sep 28, 2019 · 1 comment
Open

How to undersatand the weight? #41

taylover-pei opened this issue Sep 28, 2019 · 1 comment

Comments

@taylover-pei
Copy link

You have done a great work!

But I have a question about the ArcFace_loss. How to understand the weigth as show bellow:

image

I think thay are stand for the parameters of the last fully connected layer. But I wonder how to upodate them. In your code, I think they are fixed values, are they?

Looking forward to your reply.

@leon0n
Copy link

leon0n commented Nov 18, 2019

I think it is equal to a Fully Connected Layer without Bias. In the training process, the optimizer parameters comprise the backbone parameters and the margin parameters (which means the self.weight). By the optimizer, the parameters self.weights will be updated

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