Training and Validation Dice Values are 0 #1495
Replies: 6 comments 30 replies
-
Yeah, the logs seem all the validation metrics are 0, several items that you can double check:
There could other reasons, hope those helps. |
Beta Was this translation helpful? Give feedback.
-
Hello - I am hitting the same issue with decreasing loss and zero training and validation dice.
|
Beta Was this translation helpful? Give feedback.
-
Hello I have similar problem. The training loss is decreasing, but the dice (and accuracy) remains 0. I did the labels with monailabel-slicer, from zero. I'm lost, don't know what to do. |
Beta Was this translation helpful? Give feedback.
-
Ok, I'll check it out.
…On Thu, Sep 26, 2024, 3:25 PM Andras Lasso ***@***.***> wrote:
Well, these don't match.
CT: space directions: (0.91992199420928966,0,0) (0,0.91992199420928966,0)
(0,0,5.0000000000000018) is equivalent to:
Spacing: 0.919922 0.919922 5
IJKToRASDirections:
-1 0 0
0 -1 0
0 0 1
Segmentation:
Spacing: 0.919922 0.919922 5
Extent: 0 511 0 511 0 93
Scalar type: unsigned char
Number of components: 1
IJKToRASDirections:
-1 0 0
0 1 0
0 0 1
Make sure you only use NRRD format and use a MONAI version that includes
this fix: Project-MONAI/MONAI#8091
<Project-MONAI/MONAI#8091>
—
Reply to this email directly, view it on GitHub
<#1495 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANFZ7PE7NN7EZCXHQJYX23ZYRUSTAVCNFSM6AAAAAA2QNQZR2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZWHAYDANQ>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Thanks, I will. BTW, if that means nii.gz won't work?
…On Thu, Sep 26, 2024, 3:29 PM Andras Lasso ***@***.***> wrote:
If you cannot figure out from here then I would recommend to create a new
issue or discussion where you describe everything from scratch.
—
Reply to this email directly, view it on GitHub
<#1495 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANFZ7LGDTY4HUCO7XNFDOLZYRVDZAVCNFSM6AAAAAA2QNQZR2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZWHAYTAMA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Hi,
When training a model all training and validation dice values are zero. configs segmentation module has been tailored to our needs by changing label titles and setting pretrained model loading to false.
Here is some terminal output: terminal.txt
GPU: NVIDIA GeForce RTX 4090
MONAILabel version: 0.7.0
Numpy version: 1.24.1
Pytorch version: 2.1.0.dev20230523+cu117
MONAILabel rev id: bfb4f8c
Any help is appreciated!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions