Skip to main content

nnU-Net

nnU-Net is a semantic segmentation framework that automatically adapts its pipeline to a dataset. It analyzes the training data, creates a dataset fingerprint, configures suitable U-Net variants, and provides an end-to-end workflow from preprocessing to training, model selection, and inference.

It is primarily designed for supervised biomedical image segmentation, but it also works well as a strong baseline and development framework for researchers working on new segmentation methods.

If you are looking for nnU-Net v1, use the v1 branch. If you are migrating from v1, start with the TLDR migration guide.

nnU-Net overview

Start Here

Quick Install

Install PyTorch for your hardware first, then install nnU-Net:

pip install nnunetv2

For the full setup, including nnUNet_raw, nnUNet_preprocessed, and nnUNet_results, see Installation and setup.

Documentation

Start with the documentation home.

Useful entry points:

Scope

nnU-Net is built for supervised semantic segmentation. It supports 2D and 3D data, arbitrary channel definitions, multiple image formats, and dataset-specific adaptation of preprocessing and network configuration.

It performs particularly well in training-from-scratch settings such as biomedical datasets, challenge datasets, and non-standard imaging problems where off-the-shelf natural-image pretrained models are often a poor fit.

For a concise overview of the design, see How nnU-Net works.

Citation

Please cite the following paper when using nnU-Net:

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.

Additional recent work on residual encoder presets and benchmarking:

Project Notes

  • nnU-Net v2 is a complete reimplementation of the original nnU-Net with improved code structure and extensibility.
  • Not every dataset creates every configuration. For example, the cascade is only generated when the dataset characteristics justify it.
  • Detailed historical changes are summarized in What is different in v2?.

Acknowledgements

nnU-Net is developed and maintained by the Applied Computer Vision Lab (ACVL) of Helmholtz Imaging and the Division of Medical Image Computing at the German Cancer Research Center (DKFZ).

Metadata

Release files for nnCPUnet 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nnCPUnet 0.1.3
File Size Uploaded
nncpunet-0.1.3.tar.gz 226.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nnCPUnet 0.1.3
File Interpreter ABI Platform
nncpunet-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 546.3 kB

Release files / nncpunet-0.1.3.tar.gz

Download URL nncpunet-0.1.3.tar.gz
Size 226.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fffeb46091259c3a5f2dfc12dd3ed8a44d24b9cb6f09f3d8eeb3281fa6e42a6c
BLAKE2b-256 checksum
How to use checksums
323b1eaa4491388d51f74f6234456735bb04e6085f9adf1b52f04e880872a3f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / nncpunet-0.1.3-py3-none-any.whl

Download URL nncpunet-0.1.3-py3-none-any.whl
Size 319.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15837202822c403f05b4fcee9ab7d3a8c7cb6a843bd32e99697af864c015e933
BLAKE2b-256 checksum
How to use checksums
b7475490ee5035e10a966279b2488829e83a61a62fd9c7e026c31bc8144d160f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page