-
Notifications
You must be signed in to change notification settings - Fork 11
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
请问center_loss.py中每个label的center是如何更新的? #1
Comments
Hi, The centers are maitained in the in Does it anwer your question? |
但是基于TensorFlow的实现都设置了 |
会更新中心的。你就认为最终的聚类中心是最优点,每一次反向传播时候,使用梯度下降法使得当前的聚类中心向最优点移动。 |
center最初是怎么计算出来的,在哪里实现的? |
有个center class,里面存储的就是feature center,最初是随机初始化得到的。 |
我用另一种方式实现了center loss,欢迎使用讨论。 |
in line 77 and 79 in main.py, there is a little problem.
Isn't it better to use "epoch-%d.png" rather than "epoch-%s.png"? |
您好,我在
center_loss.py
里没有看到有关center的更新,只是在每次forward
的时候传入center但是在
main,py
里forward
的时候loss_center = center_loss(features, label)
也没有传入center
,不知道在训练的时候每个label的center是如何更新的?感谢帮助
The text was updated successfully, but these errors were encountered: