2D vs 3D Configuration #544
-
Hi @FabianIsensee, TL;DR: 3D configuration should have a loss value closer to -1 than 2D using the compound loss of CE and Dice. My charts show the opposite 0_o I'm so close to presenting results using the nnU-Net and an expected metric is flipped!! There must be something I'm not seeing right and was hoping I could get some guidance. I performed complete training using both 2D and 3D configuration and then I submitted my results to KiTS19 and got a higher overall dice score using the 3D configuration as was expected. Now I'm looking at the progress.png files and attempting to make sense of them. The metrics on the learning curve, look reversed to me. 2D goes as far down as ~ -.9 and 3D to ~ -.7. I did notice that 3D starts at a higher than 0 compared to the 2D charts, but is my understanding that they should be as close to -1 as possible for good performance. Shouldn't the loss reached by 3D be more negative than the one from 2D? Am I missing something here? The trainings were run using dice and CE as a compound loss. I've appended the image below for reference. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Nah this is expected behavior. The loss can only be computed on patches/slices whereas KiTS is evaluated on whole images. Also there are some things going on with batch/sample Dice. Don't read anything into absolute values of the loss - it is merely there to show you how much we are overfitting |
Beta Was this translation helpful? Give feedback.
Nah this is expected behavior. The loss can only be computed on patches/slices whereas KiTS is evaluated on whole images. Also there are some things going on with batch/sample Dice. Don't read anything into absolute values of the loss - it is merely there to show you how much we are overfitting