Train an AI model to segment tumors or organ boundaries in MRI or CT scans without manually choosing a network architecture.
Use nnU-Net as a strong out-of-the-box baseline when entering a biomedical image segmentation competition.
Run inference on a new set of medical images using a trained nnU-Net model.
Benchmark a new segmentation method against nnU-Net to demonstrate improvement over the self-configuring baseline.
Requires a GPU, PyTorch installed for your specific hardware, and three environment variables pointing to raw data, preprocessed data, and results directories.
nnU-Net is a Python framework for automatically training AI models that identify and label regions within medical images. The task it is designed for is called semantic segmentation: given an image, the model labels each pixel or voxel according to what it depicts, such as identifying a tumor region, an organ boundary, or a specific tissue type. What makes nnU-Net different from most AI frameworks is that it configures itself. You give it a labeled training dataset, and it analyzes the data to understand its characteristics, including image dimensions, spacing, and size. Based on that analysis it automatically decides what kind of network architecture to use, how to preprocess the data, and how to train the model. This removes a large amount of manual tuning that is usually required when applying deep learning to a new imaging problem. The framework supports both 2D and 3D image data and handles a variety of medical image formats. It works well for biomedical research problems, competition datasets, and other specialized imaging tasks where general-purpose models trained on natural photographs are not a good fit. Researchers also use it as a baseline when developing new segmentation methods, because it provides a strong default result without customization. Installation requires installing PyTorch first for your specific hardware, then installing nnU-Net via pip. The full setup involves configuring a few environment paths for raw data, preprocessed data, and saved model results. Detailed documentation covers dataset preparation, training, running inference on new images, and contributing to the project. nnU-Net is developed at the German Cancer Research Center and Helmholtz Imaging. The original paper describing the method was published in Nature Methods in 2021. Users are asked to cite that paper when publishing work that uses nnU-Net.
← mic-dkfz on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.