Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Configures, trains, and runs nnU-Net for self-adapting medical image segmentation with plan, preprocess, train, and predict steps.
86% 91%+5 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 19 of 22 without it.
I have a medical dataset (dataset ID 501) prepared for nnUNet v2. Could you share the bash commands required to execute the automatic planning and preprocessing step with the default planner, followed by starting fold 0 training in 3D full resolution?
Includes the -pl nnUNetPlanner parameter in the preprocessing command
3 of 3 safety checks passed
nnUNet (No New U-Net) is a self-configuring framework for medical image segmentation that automatically adapts to any dataset. Consistently top-performing on benchmarks like BraTS, KiTS, and AMOS.
uv pip install nnunetv2
nnUNetv2_plan_and_preprocess -d DATASET_ID -pl nnUNetPlanner
nnUNetv2_train DATASET_ID CONFIG 0 # CONFIG: 2d, 3d_fullres, 3d_lowres
nnUNetv2_predict -i INPUT_FOLDER -o OUTPUT_FOLDER -d DATASET_ID -c CONFIG
from nnunetv2.inference.predict_from_raw_data import nnUNetPredictor
predictor = nnUNetPredictor()
predictor.initialize_from_trained_model_folder("nnUNet_results/DatasetXYZ", "3d_fullres")
predictor.predict_from_files("input_images", "output_segmentations")
Next to this one in the catalogue, plus more from the same author.