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

diam implement question #17

Open
ronghuaiyang opened this issue Jan 25, 2019 · 1 comment
Open

diam implement question #17

ronghuaiyang opened this issue Jan 25, 2019 · 1 comment

Comments

@ronghuaiyang
Copy link

hi, seasonSH:
thanks for your work.
in your implementaion, the config of diam is:

Loss functions and their parameters.

losses = {
'diam': {'scale': 'auto', 'm': 5.0, 'alpha':1.0}
}
but the in the am-softmax paper, the m is about 0.35, so, my question is why in your implemention the m is set to 5, it's much larger than the origin am-softmax paper setting ?
Looking forward for your replay !

@yang0817manman
Copy link

yang0817manman commented Mar 27, 2019

origin am-softman: s*(costheta - m)
docface am-softmax: s*costheta - m
so the parameter of "m" is different. @ronghuaiyang

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