Project-MONAI / research-contributions

Implementations of recent research prototypes/demonstrations using MONAI.
https://monai.io/
Apache License 2.0
1k stars 332 forks source link

BRATS DATASET has three classes, TC, WT, and ET. Performance always comes zero for third class during validation #138

Closed Sharifmhamza closed 1 year ago

Sharifmhamza commented 1 year ago

Hello MONAI TEAM,

I am facing an issue with BRATS challenge dataset that is used in UNETR. While training with SWINUNETR, I always get a zero dice score for the ET class. During inference, I got this error shown in the attached screenshot. Can you suggest me to resolve the issue? Waiting for your response. Thank you.

Screen Shot 2022-10-18 at 1 41 51 AM
tangy5 commented 1 year ago

Hi @Sharifmhamza , the BRATS data used in UNETR should be the MSD Task01, which is from BRATS16. The SwinUNETR used BRATS21 data for experiments. The original data formats, construction of labels are different. The loss function are configured slightly different. Sigmoid is used in the SwinUNETR, and output channel is 3, no background. The difference might be the reason causing errors.

Mentholatum commented 6 months ago

Hi @Sharifmhamza , the BRATS data used in UNETR should be the MSD Task01, which is from BRATS16. The SwinUNETR used BRATS21 data for experiments. The original data formats, construction of labels are different. The loss function are configured slightly different. Sigmoid is used in the SwinUNETR, and output channel is 3, no background. The difference might be the reason causing errors.

Hello Contributor, I am using Swin UNETR on the BraTS21 dataset with an output channel of 3 and using sigmoid (as per the files in the project), but in the validation results, the ET (Enhancing Tumor) is still close to 0. Do you know what might be causing this issue? Val 10/300, Dice_TC: 0.638829, Dice_WT: 0.835460, Dice_ET: 0.000363, time 825.27s Val 20/300, Dice_TC: 0.729153, Dice_WT: 0.874590, Dice_ET: 0.000225, time 4862.78s Val 30/300, Dice_TC: 0.653570, Dice_WT: 0.758693, Dice_ET: 0.000177, time 793.77s

Dasha484 commented 1 week ago

Hello, I encountered this issue during network training as well, where the third class (ET) consistently has a Dice score of 0. Did you manage to resolve it? Do you have any suggestions?

Luffy03 commented 8 hours ago

Hi, we reproduce the results at https://github.com/Luffy03/Large-Scale-Medical. You can find our implementation at https://github.com/Luffy03/Large-Scale-Medical/tree/main/Downstream/monai/BRATS21.