Skip to content

5413 update dicefocal include foreground#5416

Merged
wyli merged 3 commits intoProject-MONAI:devfrom
wyli:5413-dicefocal
Oct 27, 2022
Merged

5413 update dicefocal include foreground#5416
wyli merged 3 commits intoProject-MONAI:devfrom
wyli:5413-dicefocal

Conversation

@wyli
Copy link
Copy Markdown
Contributor

@wyli wyli commented Oct 27, 2022

Signed-off-by: Wenqi Li [email protected]

Fixes #5413

Description

excluding background shouldn't be done before softmax

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 wyli changed the title 5431 update dicefocal include foreground 5413 update dicefocal include foreground Oct 27, 2022
Copy link
Copy Markdown
Contributor

@KumoLiu KumoLiu left a comment

Choose a reason for hiding this comment

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

Thanks for updating, it looks good to me!

@wyli
Copy link
Copy Markdown
Contributor Author

wyli commented Oct 27, 2022

/build

@wyli wyli enabled auto-merge (squash) October 27, 2022 11:04
@wyli wyli merged commit a209b06 into Project-MONAI:dev Oct 27, 2022
@wyli wyli deleted the 5413-dicefocal branch October 27, 2022 14:24
KumoLiu pushed a commit that referenced this pull request Nov 2, 2022
Signed-off-by: Wenqi Li <[email protected]>

Fixes #5413

### Description
excluding background shouldn't be done before softmax

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] 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).
- [x] 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.

Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: KumoLiu <[email protected]>
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.

include_background=False, softmax=True doesn't work properly in DiceFocalLoss for binary segmentation

2 participants