Repository navigation
feat(losses/metrics): implement ignore_index support across dice and … #8757
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
Merged
ericspod
merged 13 commits into
Project-MONAI:dev
from
Rusheel86:feat-ignore-index-support
Sep 9, 2026
Merged
Changes from 10 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
ed13e76
feat: centralize ignore_index masking in losses and metrics
Rusheel86 5843135
chore: trigger CI rerun
Rusheel86 419f02f
chore: trigger CI rerun
Rusheel86 fbeaae5
fix: sort imports in focal loss
Rusheel86 7bcf5ae
style: apply black formatting
Rusheel86 da0b244
fix: ensure create_ignore_mask receives Tensor in unified_focal_loss
Rusheel86 1a85bb0
fix: resolve ignore_index masking bugs, dead code, and review feedback
Rusheel86 03dd496
style: apply black formatting
Rusheel86 54d417c
style: remove redundant mask multiplication in FocalLoss reduction br…
Rusheel86 e9dba63
fix: remove redundant mask, move shape check, restore per_component g…
Rusheel86 3dbe35d
fix: address review feedback — fix class_index, eliminate double-mask…
Rusheel86 1489e02
Merge branch 'dev' into feat-ignore-index-support
ericspod e3a53a4
Merge branch 'dev' into feat-ignore-index-support
ericspod File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.