Downloads · 30 days
0
ditt-a/3D_UnetPlusPlus_Brain_Tumour_Segmentation
3D_UnetPlusPlus_Brain_Tumour_Segmentation is a machine learning model from ditt-a. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
The model predicts a 3-channel segmentation mask:
Downloads · 30 days
0
Access
Public
Updated May 19, 2026
Repo size
144 MB
Likes
0
Public
Click a slice to open those files.
.pt144 MB · 100%
From the Hugging Face model README
The model predicts a 3-channel segmentation mask:
Channel 0: ET - Enhancing Tumor
Channel 1: TC - Tumor Core
Channel 2: WT - Whole Tumor
This model is intended for:
This model is not intended for direct clinical diagnosis or treatment decision-making. Predictions should not be used as a substitute for expert medical evaluation by radiologists or clinicians.
The experiments are based on BraTS20-style brain MRI data. The original GitHub repository references the BRATS20 Training and Validation Dataset from Kaggle.
The dataset consists of multi-modal MRI volumes and segmentation masks in NIfTI format.
The training notebooks use a medical imaging preprocessing pipeline that includes:
128 x 128 x 128The segmentation labels are converted into three tumor-region masks:
ET = label 4
TC = labels 1 or 4
WT = labels 1, 2, or 4
The repository includes separate notebooks for training and inference:
intern_unet.ipynb : U-Net experiment pipeline
intern_unetpp.ipynb : U-Net++ experiment pipeline
prediksi.ipynb : Prediction / inference workflow
The original experiment setup used an 80:20 train-validation split. In the available training log, 368 samples were found, with 294 samples used for training and 74 samples used for validation.
The main evaluation metric is Dice score.
Reported experiment outputs are stored in CSV files in the ReportHasil/ folder.
| Model / Strategy | Best Validation Mean Dice | Notes |
|---|---|---|
| U-Net Raw | 0.865 | Best reported U-Net raw experiment |
| U-Net Warmup + Freeze | 0.857 | Warmup and encoder-freezing strategy |
| U-Net Warmup + LR | 0.849 | Warmup with learning-rate strategy |
| U-Net++ Raw | 0.855 | Baseline U-Net++ experiment |
| U-Net++ Warmup + Freeze | 0.853 | Warmup and freezing strategy |
| U-Net++ Warmup + LR | 0.863 | Best reported U-Net++ variant |
The Dice scores are reported for:
A typical inference workflow is:
Example expected patient folder structure:
Patient_ID/
├── Patient_ID_flair.nii.gz
├── Patient_ID_t1.nii.gz
├── Patient_ID_t1ce.nii.gz
├── Patient_ID_t2.nii.gz
└── Patient_ID_seg.nii.gz
Medical AI models can produce incorrect predictions, especially when used outside their training distribution. This model should be used only for research, education, or experimentation. Any medical interpretation must be reviewed by qualified healthcare professionals.
Original GitHub repository:
https://github.com/Ditt-A/BrainTumourSegmentation
This project is released under the MIT License.