Skip to content

6765 update GeneralizedDiceLoss - #6775

Merged
wyli merged 3 commits into
Project-MONAI:devfrom
wyli:fixes-6765
Jul 26, 2023
Merged

wyli merged 3 commits into
Project-MONAI:devfrom
wyli:fixes-6765

Conversation

@wyli

@wyli wyli commented Jul 25, 2023

Copy link
Copy Markdown
Contributor

Fixes #6765

Description

as discussed in #6765, when batch=True the loss should still return 1 aggregated value instead of C channels. #5466 is not actually achievable with this formulation.

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.

wyli added 2 commits July 25, 2023 22:57
This reverts commit e03ecd4.

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
@wyli
wyli requested review from KumoLiu and Nic-Ma July 25, 2023 22:05
@wyli wyli changed the title update GeneralizedDiceLoss 6765 update GeneralizedDiceLoss Jul 25, 2023

@KumoLiu KumoLiu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update, LGTM.

@wyli

wyli commented Jul 26, 2023

Copy link
Copy Markdown
Contributor Author

/build

@wyli
wyli enabled auto-merge (squash) July 26, 2023 07:24
@wyli
wyli merged commit 6f9cf6b into Project-MONAI:dev Jul 26, 2023
@wyli
wyli deleted the fixes-6765 branch July 27, 2023 08:05
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.

Bug of GeneralizedDiceLoss

2 participants