Skip to content

Generalize AsymmetricUnifiedFocalLoss for multi-class and align interface#8607

Closed
ytl0623 wants to merge 9 commits intoProject-MONAI:devfrom
ytl0623:fix-issue-8603
Closed

Generalize AsymmetricUnifiedFocalLoss for multi-class and align interface#8607
ytl0623 wants to merge 9 commits intoProject-MONAI:devfrom
ytl0623:fix-issue-8603

Conversation

@ytl0623
Copy link
Copy Markdown
Contributor

@ytl0623 ytl0623 commented Oct 30, 2025

Fixes #8603 .

Description

Addresses the limitations of AsymmetricUnifiedFocalLoss and its dependencies (AsymmetricFocalLoss, AsymmetricFocalTverskyLoss). The previous implementations were hard-coded for binary segmentation and lacked the standard sigmoid/softmax/to_onehot_y interface common to other MONAI losses.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add sigmoid/softmax interface for AsymmetricUnifiedFocalLoss

3 participants