-
Notifications
You must be signed in to change notification settings - Fork 423
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
Remove check that preds value need to be smaller than num_classes #357
Conversation
Hello @SkafteNicki! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-07-09 12:30:37 UTC |
for more information, see https://pre-commit.ci
…ightning/metrics into remove_check_for_logits
Codecov Report
@@ Coverage Diff @@
## master #357 +/- ##
==========================================
- Coverage 96.44% 96.38% -0.06%
==========================================
Files 112 112
Lines 3657 3655 -2
==========================================
- Hits 3527 3523 -4
- Misses 130 132 +2
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.
LGTM 😃
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.
LGTM !
Before submitting
What does this PR do?
Fixes #354
Remove that check that
preds
needs to be smaller thannum_classes
which does not make sense since we added support for logits. Updated tests case by scaling thelogit
test case with a factor 10 (to make sure generated values are bigger thannum_classes=5
).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 🙃