nnU-Net: Dataset001_BrainTumour
Multiparametric brain MRI (FLAIR, native T1w, post-gadolinium T1w, T2w) of patients with glioblastoma or lower-grade glioma, with segmentations of edema, non-enhancing tumor and enhancing tumor. This is Task01_BrainTumour of the Medical Segmentation Decathlon (MSD), a 750-case subset of the BraTS 2016/2017 challenge data (co-registered to the SRI24 atlas, resampled to 1 mm isotropic, skull-stripped). Converted 1:1 from the MSD release: 484 labeled training cases in imagesTr/labelsTr, the 266 unlabeled MSD test cases in imagesTs.
Validation case BRATS_020 (fold 0): image, reference segmentation and the cross-validation prediction of nnUNetTrainer__nnUNetPlans__3d_fullres, which did not see this case in training. Image and reference: Medical Segmentation Decathlon, Task01_BrainTumour, CC-BY-SA-4.0; one slice, intensities windowed, labels overlaid.
Use it
nnUNetv2_hub predict msd-braintumour -i flair.nii.gz t1w.nii.gz t1gd.nii.gz t2w.nii.gz -o seg.nii.gz
from nnunetv2.hub import load
model = load('msd-braintumour')
seg = model.predict(['flair.nii.gz', 't1w.nii.gz', 't1gd.nii.gz', 't2w.nii.gz']) # numpy array with the label values below
One file per channel, in this order: FLAIR, T1w, t1gd, T2w.
msd-braintumour runs the best model of this dataset on the hub; MIC-DKFZ/nnUNet_msd-braintumour in its place runs this repo. This repo runs nnUNetTrainer__nnUNetPlans__3d_fullres with fold_all and test-time mirroring.
Input
| Channel | Name |
|---|---|
| 0 | FLAIR |
| 1 | T1w |
| 2 | t1gd |
| 3 | T2w |
File ending .nii.gz.
Labels
| Value | Label | Name in dataset.json |
|---|---|---|
| 0 | background | background |
| 1 | peritumoral edema | edema |
| 2 | non-enhancing tumor | non-enhancing tumor |
| 3 | enhancing tumor | enhancing tumour |
Cross-validation results
CV Dice is nnU-Net's cross-validation Dice. The validation predictions of all 5 folds are pooled, so every training case counts once. For each label (or region), Dice is computed per case and averaged over the cases: a case where the label is in neither the reference nor the prediction is left out, and a case where it is predicted but absent from the reference counts as 0. CV Dice is the mean of these per-label values (labels that never occur are skipped), so small and rare labels count as much as large ones. It is not comparable with challenge metrics such as lesion-wise Dice.
| Variant | CV Dice | fold_all |
|---|---|---|
nnUNetTrainer__nnUNetPlans__3d_fullres (default) |
0.7384 | yes |
nnUNetTrainer__nnUNetResEncUNetMPlans__3d_fullres |
0.7360 | yes |
nnUNetTrainer__nnUNetResEncUNetLPlans__3d_fullres |
0.7355 | yes |
Every fold's validation predictions and summary.json (per-label and per-case values) are in this repo, next to the splits.
Training data
- Source: Medical Segmentation Decathlon, Task01_BrainTumour, 2.0 04/05/2018
- Data license: CC-BY-SA-4.0
- Changes made to the data: none. The 4D MSD images are stored as one file per channel (_0000 FLAIR, _0001 T1w, _0002 T1w post-gadolinium, _0003 T2w), the layout nnU-Net expects; voxel values, geometry and labels are unchanged.
License
The weights are licensed under CC-BY-SA-4.0. The data they were trained on is licensed under CC-BY-SA-4.0.
Citation
If you use this model, please cite nnU-Net and the dataset:
- Isensee, F., Jaeger, P. F., Kohl, S. A., Petersen, J., & Maier-Hein, K. H. (2021). nnU-Net: a self-configuring method for deep learning-based biomedical image segmentation. Nature Methods, 18(2), 203-211.
- Simpson AL, Antonelli M, Bakas S, et al. (2019). A large annotated medical image dataset for the development and evaluation of segmentation algorithms. arXiv:1902.09063. https://doi.org/10.48550/arXiv.1902.09063
- Antonelli M, Reinke A, Bakas S, et al. (2022). The Medical Segmentation Decathlon. Nature Communications 13, 4128. https://doi.org/10.1038/s41467-022-30695-9
- Isensee, F., Wald, T., Ulrich, C., Baumgartner, M., Roy, S., Maier-Hein, K., & Jaeger, P. F. (2024). nnU-Net Revisited: A Call for Rigorous Validation in 3D Medical Image Segmentation. MICCAI 2024.
