-
Notifications
You must be signed in to change notification settings - Fork 323
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
[WIP] add focal_loss and label_smoothing_loss #121
[WIP] add focal_loss and label_smoothing_loss #121
Conversation
Hello @rohitgr7! Thanks for updating this PR.
Comment last updated at 2020-07-22 22:42:20 UTC |
2ef6b76
to
9a3bd0f
Compare
Codecov Report
@@ Coverage Diff @@
## master #121 +/- ##
==========================================
- Coverage 92.25% 90.60% -1.66%
==========================================
Files 79 80 +1
Lines 4031 4139 +108
==========================================
+ Hits 3719 3750 +31
- Misses 312 389 +77
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls add Documentation :]
@rohitgr7 can you maybe also add a functional interface? when you look at https://github.com/justusschock/dl-utils/blob/master/dlutils/losses/focal.py you can find a more detailed interface, that also works on binary/logits. Could we maybe adopt something similar here? I'm afraid I haven't tested the implementation there. The |
@justusschock Made the changes locally with the new interface. Any resources from where I can test my implementation. All I can find online is just the implementation of binary-version which I tested and working fine. The problem is with multi-class version one. Can't find anything for that. |
Mind the docs as of now. Tested |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@rohitgr7 how is it going here, is it still WIP? 🐰 |
totally forgot about this one. will get this done next week. |
@rohitgr7 any update here? 👼 |
Before submitting
What does this PR do?
Added FocalLoss and LabelSmoothingLoss as discussed on slack.
TODO:
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃