-
Notifications
You must be signed in to change notification settings - Fork 413
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
fix unpredictable panoptic_quality output when return_per_class=True
#2548
fix unpredictable panoptic_quality output when return_per_class=True
#2548
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2548 +/- ##
========================================
- Coverage 69% 36% -33%
========================================
Files 314 314
Lines 17663 17663
========================================
- Hits 12179 6334 -5845
- Misses 5484 11329 +5845 |
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 entry to the changelog
Added changelog entry. |
#2548) * fix panoptic_quality class order * added changelog and updated test-case --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jirka Borovec <[email protected]> (cherry picked from commit 53fbadf)
#2548) * fix panoptic_quality class order * added changelog and updated test-case --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jirka Borovec <[email protected]> (cherry picked from commit 53fbadf)
What does this PR do?
Fix #2547
PanopticQuality can return per class score when
return_per_class=True
argument is given.But the order of the result is unpredictable.
Before submitting
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 🙃
📚 Documentation preview 📚: https://torchmetrics--2548.org.readthedocs.build/en/2548/