We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There are two types of focal loss here (BinaryFocalLoss and FocalLoss): https://github.com/BloodAxe/pytorch-toolbelt/blob/develop/pytorch_toolbelt/losses/focal.py
Both of these functions are calling the focal_loss_with_logits function, while the second one should use softmax_focal_loss_with_logits.
The text was updated successfully, but these errors were encountered:
Thanks for the tip, it is fixed now in 0.5.3 release.
Sorry, something went wrong.
No branches or pull requests
🐛 Bug
There are two types of focal loss here (BinaryFocalLoss and FocalLoss):
https://github.com/BloodAxe/pytorch-toolbelt/blob/develop/pytorch_toolbelt/losses/focal.py
Both of these functions are calling the focal_loss_with_logits function, while the second one should use softmax_focal_loss_with_logits.
The text was updated successfully, but these errors were encountered: