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

Some questions about the center loss #7

Open
taylover-pei opened this issue Mar 18, 2019 · 1 comment
Open

Some questions about the center loss #7

taylover-pei opened this issue Mar 18, 2019 · 1 comment

Comments

@taylover-pei
Copy link

Congratuations! You have done a great work. But I have a question about the center loss.
Can you explain why you wrote there two lines?

for param in criterion_cent.parameters():

Thank you very much! Looking forward to your reply!

@devraj89
Copy link

What I understood is that the author has said the weight parameter will be used to compute the total loss. But when the updation of the centers is being done it is being done without the weight parameter.
Basically, the updates for the centers in this code is nothing but the backpropagation of the mean square error loss.

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