Project-MONAI / Project-MONAI/MONAI
DiceFocalLoss does not have the option to run softmax focal loss
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.7k
- Forks
- 1.6k
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 20
Description
The 'use_softmax' arg is missing in FocalLoss in the DiceFocalLoss class. See the screenshot.
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
Locate the DiceFocalLoss and FocalLoss definitions in the MONAI source and inspect how loss options are exposed and tested. Verify the requested use_softmax option can be passed through DiceFocalLoss and add or update the relevant tests so the softmax focal-loss behavior is covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100