Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Sharifmhamza opened this issue Oct 17, 2022 · 5 comments

Comments

@Sharifmhamza
Copy link

No description provided.

@Sharifmhamza Sharifmhamza changed the title BRATS DATASET has three classes, TC, WTt, metric_et BRATS DATASET has three classes, TC, WT, and ET. Performance always comes zero for third class during validation Oct 17, 2022
@Sharifmhamza
Copy link
Author

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
Copy link
Contributor

tangy5 commented Oct 18, 2022

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.

@wyli wyli closed this as completed Dec 7, 2022
@Mentholatum
Copy link

Mentholatum commented Mar 26, 2024

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
Copy link

Dasha484 commented Oct 5, 2024

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
Copy link

Luffy03 commented Oct 14, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants