nnU-Net: Dataset116_spider
Sagittal lumbar spine MRI (T1, T2 and T2-SPACE series; 218 patients with low back pain from four Dutch hospitals) of the SPIDER dataset/challenge with segmentations of vertebrae, intervertebral discs and the spinal canal. Each MRI series is a separate case: SPIDER__<t1|t2|t2SPACE> (447 cases), so the series of one patient share the patient number; the series are not registered to each other. Original SPIDER label values (vertebrae 1-n, spinal canal 100, discs 201-209) were remapped to 1-9, 10 and 11-19.
Validation case SPIDER_018_t2SPACE (fold 0): image, reference segmentation and the cross-validation prediction of nnUNetTrainer__nnUNetResEncUNetLPlans__3d_fullres, which did not see this case in training. Image and reference: SPIDER, CC-BY-4.0; one slice, intensities windowed, labels overlaid.
Use it
nnUNetv2_hub predict spider -i image.nii.gz -o seg.nii.gz
from nnunetv2.hub import load
model = load('spider')
seg = model.predict('image.nii.gz') # numpy array with the label values below
spider runs the best model of this dataset on the hub; MIC-DKFZ/nnUNet_spider in its place runs this repo. This repo runs nnUNetTrainer__nnUNetResEncUNetLPlans__3d_fullres with fold_all and test-time mirroring.
Input
| Channel | Name |
|---|---|
| 0 | MR |
File ending .nii.gz.
Labels
| Value | Label | Name in dataset.json |
|---|---|---|
| 0 | background | background |
| 1 | vertebra 1 (counted from the bottom: vertebra 1 is the most caudal lumbar vertebra, usually L5) | vertebra_1 |
| 2 | vertebra 2 (counted from the bottom) | vertebra_2 |
| 3 | vertebra 3 (counted from the bottom) | vertebra_3 |
| 4 | vertebra 4 (counted from the bottom) | vertebra_4 |
| 5 | vertebra 5 (counted from the bottom) | vertebra_5 |
| 6 | vertebra 6 (counted from the bottom) | vertebra_6 |
| 7 | vertebra 7 (counted from the bottom) | vertebra_7 |
| 8 | vertebra 8 (counted from the bottom) | vertebra_8 |
| 9 | vertebra 9 (counted from the bottom) | vertebra_9 |
| 10 | spinal canal | spinal_canal |
| 11 | disc below vertebra 1 | disc_1 |
| 12 | disc below vertebra 2 | disc_2 |
| 13 | disc below vertebra 3 | disc_3 |
| 14 | disc below vertebra 4 | disc_4 |
| 15 | disc below vertebra 5 | disc_5 |
| 16 | disc below vertebra 6 | disc_6 |
| 17 | disc below vertebra 7 | disc_7 |
| 18 | disc below vertebra 8 | disc_8 |
| 19 | disc below vertebra 9 | disc_9 |
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 occur in no reference case 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__nnUNetResEncUNetLPlans__3d_fullres (default) |
0.7594 | yes |
nnUNetTrainer__nnUNetResEncUNetMPlans__3d_fullres |
0.7568 | yes |
nnUNetTrainer__nnUNetPlans__3d_fullres |
0.7554 | 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: SPIDER, Zenodo record 10159290 (2023-11-20)
- Data license: CC-BY-4.0
- Changes made to the data: Converted from the Zenodo release with case IDs that keep the patient number; images and labels unchanged. Patient-grouped 5-fold split: the series of a patient stay in one fold.
License
The weights are licensed under CC-BY-4.0. The data they were trained on is licensed under CC-BY-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.
- van der Graaf JW, van Hooff ML, Buckens CFM, et al. (2024). Lumbar spine segmentation in MR images: a dataset and a public benchmark. Scientific Data 11, 264. https://doi.org/10.1038/s41597-024-03090-w
- 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.
