Project-MONAI / Project-MONAI/tutorials
Dice Loss is Negative for some steps
Open
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 2.5k
- Forks
- 803
- Avg merge
- 6d 22h
- Merged PRs (30d)
- 3
Description
Hi,
I am trying to follow the 3D segmentation Tutorial,
When I run the code on CPU local machine, the tutorial is working fine,
But the moment I start training on GPU cluster (CUDA), the model performance is poor and it give dice loss negative for some trainining steps
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 with the 3D segmentation Tutorial and compare its CPU and CUDA training paths. Reproduce the negative Dice loss on the GPU cluster, then identify and document the CUDA-specific cause and verify that training produces valid loss values and expected model performance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100