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's the effect of the disable_torch_grad_focal_loss in ASymmetricLoss ? #31

Closed
ckvic3 opened this issue Dec 31, 2020 · 2 comments
Closed

Comments

@ckvic3
Copy link

ckvic3 commented Dec 31, 2020

Thank you for your work ! when i read the code of losses.py, i find the variable disable_torch_grad_focal_loss in AsymmetricLoss, but i don't find it appear in elsewhere . so i wonder if the disable_torch_grad_focal_loss is just used for paper's experiment comparing ? and in normal use,do we need to modify it ?

@mrT23
Copy link
Contributor

mrT23 commented Dec 31, 2020

This is an option we experimented with a bit, but didnt have enough room to put in the paper. The gradient analysis with this option is a bit different.

try first the default version (without).
than you can compare results to the one with disable_torch_grad_focal_loss==True, i think in some cases it can improve results.

@ckvic3
Copy link
Author

ckvic3 commented Jan 1, 2021

thank you for your reply !

@ckvic3 ckvic3 closed this as completed Jan 1, 2021
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