nnU-Net: Dataset007_Pancreas
Portal venous phase CT of patients undergoing resection of pancreatic masses (intraductal papillary mucinous neoplasms, pancreatic neuroendocrine tumors or pancreatic ductal adenocarcinoma) from Memorial Sloan Kettering Cancer Center, with segmentations of the pancreas and the pancreatic mass (cyst or tumor). This is Task07_Pancreas of the Medical Segmentation Decathlon (MSD), converted 1:1 from the MSD release: 281 labeled training cases in imagesTr/labelsTr, the 139 unlabeled MSD test cases in imagesTs.
Validation case pancreas_094 (fold 0): image, reference segmentation and the cross-validation prediction of nnUNetTrainer__nnUNetResEncUNetMPlans__3d_fullres, which did not see this case in training. Image and reference: Medical Segmentation Decathlon, Task07_Pancreas, CC-BY-SA-4.0; one slice, intensities windowed, labels overlaid.
Use it
nnUNetv2_hub predict msd-pancreas -i image.nii.gz -o seg.nii.gz
from nnunetv2.hub import load
model = load('msd-pancreas')
seg = model.predict('image.nii.gz') # numpy array with the label values below
msd-pancreas runs the best model of this dataset on the hub; MIC-DKFZ/nnUNet_msd-pancreas in its place runs this repo. This repo runs nnUNetTrainer__nnUNetResEncUNetMPlans__3d_fullres with fold_all and test-time mirroring.
Input
| Channel | Name |
|---|---|
| 0 | CT |
File ending .nii.gz.
Labels
| Value | Label | Name in dataset.json |
|---|---|---|
| 0 | background | background |
| 1 | pancreas | pancreas |
| 2 | pancreatic mass (cyst or tumor) | cancer |
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__nnUNetResEncUNetMPlans__3d_fullres (default) |
0.6746 | yes |
nnUNetTrainer__nnUNetResEncUNetLPlans__3d_fullres |
0.6735 | yes |
nnUNetTrainer__nnUNetPlans__3d_fullres |
0.6663 | 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, Task07_Pancreas, 1.0 04/05/2018
- Data license: CC-BY-SA-4.0
- Changes made to the data: none
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.
