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

关于CosinAddmLayer和combined_margin_layer的疑问 #40

Open
wu-ruijie opened this issue Sep 24, 2019 · 0 comments
Open

关于CosinAddmLayer和combined_margin_layer的疑问 #40

wu-ruijie opened this issue Sep 24, 2019 · 0 comments

Comments

@wu-ruijie
Copy link

hi xialuxi:
看起来CosinAddmLayer就是arcloss(对应combined margin m1=1,m3=0的情况),那为什么CosinAddmLayer考虑cos_t[i * dim + gt] > 1.0f和cos_t[i * dim + gt] <= threshold,而combined_margin_layer不需要呢?
请问最终训练采用的哪一个呢?
非常感谢!

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

1 participant