Skip to content
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 corner case in manually specifying compute_groups in MetricCollection #2979

Merged
merged 10 commits into from
Feb 28, 2025

Conversation

SkafteNicki
Copy link
Member

@SkafteNicki SkafteNicki commented Feb 27, 2025

What does this PR do?

Fixes #2897

Before submitting
  • Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?
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--2979.org.readthedocs.build/en/2979/

Copy link

codecov bot commented Feb 27, 2025

Codecov Report

Attention: Patch coverage is 22.22222% with 7 lines in your changes missing coverage. Please review.

Project coverage is 70%. Comparing base (8eef0d3) to head (762bd3c).
Report is 1 commits behind head on master.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #2979   +/-   ##
======================================
- Coverage      70%     70%   -0%     
======================================
  Files         350     350           
  Lines       19532   19538    +6     
======================================
  Hits        13589   13589           
- Misses       5943    5949    +6     

@Borda Borda changed the title Fix corner case in manually specifying compute_groups in `MetricCollection Fix corner case in manually specifying compute_groups in MetricCollection Feb 27, 2025
@mergify mergify bot added the ready label Feb 27, 2025
@SkafteNicki SkafteNicki modified the milestones: v1.5.x, v1.6.x Feb 28, 2025
@Borda Borda merged commit a8de07d into master Feb 28, 2025
55 of 58 checks passed
@Borda Borda deleted the bugfix/metriccollection_compute_groups_nested branch February 28, 2025 23:37
Borda pushed a commit that referenced this pull request Feb 28, 2025
…lection` (#2979)

* implementation
* Apply suggestions from code review

---------

Co-authored-by: Jirka Borovec <[email protected]>
Co-authored-by: Jirka B <[email protected]>
(cherry picked from commit a8de07d)
Borda pushed a commit that referenced this pull request Mar 3, 2025
…lection` (#2979)

* implementation
* Apply suggestions from code review

---------

Co-authored-by: Jirka Borovec <[email protected]>
Co-authored-by: Jirka B <[email protected]>
(cherry picked from commit a8de07d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug / fix Something isn't working ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extend support for manual specification of MetricCollection compute_groups
2 participants