Project-MONAI / Project-MONAI/MONAI
optional include_background for the CE loss in DiceCELoss
Open
Nobody has claimed this yet.
Feature request
- Dominant language
- Python
- Stars
- 8.7k
- Forks
- 1.6k
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 20
Description
Is your feature request related to a problem? Please describe.
In the DiceCELoss include_background parameter affects the DiceLoss component, would be great to add a similar option for the CELoss component.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at monai/losses/dice.py around lines 598-609, the DiceCELoss implementation linked in the issue, and read how include_background currently affects the DiceLoss component. Done means the CELoss component also supports the requested optional background inclusion behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100