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

Gamma_Negative goes to NaN and loss increases exponentially #112

Open
gssriram opened this issue Oct 11, 2024 · 0 comments
Open

Gamma_Negative goes to NaN and loss increases exponentially #112

gssriram opened this issue Oct 11, 2024 · 0 comments

Comments

@gssriram
Copy link

Hello,

Thanks for this innovative work. I tried to implement ASL in my multi-label binary classification model (20 classes with average positive-negative ratio of 0.06). While doing so, after Epoch-8, the gamma_neg value goes to NaN and at the same time the ASL raises exponentially and stays there forever. This trend remains same in both normal version and optimised version of ASL. This is with respect to adaptive ASL [starting gamma_neg=4, gamma_pos=0, other params are default]. [The same trend in loss is prevalent in non-adaptive ASL as well.]

I am sure there is something that I am missing out. It would be helpful, if someone clarifies this issue and suggests points to improve my training.

image
image

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