- 
                Notifications
    You must be signed in to change notification settings 
- Fork 466
Fix: Use tuple for multidimensional indexing in distributed.py #3277
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
base: master
Are you sure you want to change the base?
Fix: Use tuple for multidimensional indexing in distributed.py #3277
Conversation
| Codecov Report❌ Patch coverage is  ❌ Your project check has failed because the head coverage (37%) is below the target coverage (95%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@           Coverage Diff           @@
##           master   #3277    +/-   ##
=======================================
- Coverage      37%     37%    -1%     
=======================================
  Files         364     349    -15     
  Lines       20096   19901   -195     
=======================================
- Hits         7520    7326   -194     
+ Misses      12576   12575     -1     🚀 New features to boost your workflow:
 | 
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
| @VijayVignesh1 thanks for working on this. Could you jsut push an empty commit to trigger CI again (there were fixes to it within the last week). | 
What does this PR do?
Fixes #3275
Before submitting
PR review
Fixes UserWarning raised when using non-tuple sequence for multidimensional indexing.
Previously:
Now:
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--3277.org.readthedocs.build/en/3277/