-
Notifications
You must be signed in to change notification settings - Fork 2
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
how to use #2
Comments
I believe you can use it by just replacing BCEWithLogitsLoss in your code with this variant. Line 48 in 476d60f
But please note that it's now obsolete as original authors updated from 1st revision at ECCV 2020 workshop. |
Can BCEWithLogitsLoss be used for multi-class classification or target detection ? |
Did you solve it? In multi-class classification, I changed nn.CrossEntropyLoss() to DistibutionAgnosticSeesawLossWithLogits or SeesawLossWithLogits, but it keeps getting IndexError: too many indices for tensor of dimension 1 .... |
Thank you for your excellent work.
I want to know, how can I use your seesaw loss to replace cross entropy in the traditional detection algorithm?
Looking forward to your reply.
The text was updated successfully, but these errors were encountered: