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

what is the meaning of ff, f, l ? #2

Open
qiyang77 opened this issue Apr 16, 2019 · 3 comments
Open

what is the meaning of ff, f, l ? #2

qiyang77 opened this issue Apr 16, 2019 · 3 comments

Comments

@qiyang77
Copy link

hello, I am a bit of confuse about reading this code about calculating A-softloss

@sycophant-stone
Copy link

you'd better refer the Large-Margin Softmax Loss for Convolutional Neural network, which explains the lambda's meanings.

@sycophant-stone
Copy link

but, here,the code.
l, f, ff is constant.which isn't right.
l = 0.
f = 1.0/(1.0+l)
ff = 1.0 - f

the l should depends at the global_steps.

@jsdtwry
Copy link

jsdtwry commented Nov 4, 2019

Hello, I change the "l" crosspond to the training step, and let angular-softmax with a very small part at beginning and about 0.1 ratio at the end. however, it seems strange, the loss decrease normally at beginning and start increase at some training step, with a-softmax increase. and the acc decrease too, have anyone meet this problem? If anyone have some trick about the raito decay? ps: I have fixed the code to avoid gradient explosion problem.

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

3 participants