Skip to main content

nnU-Net is a framework for out-of-the box image segmentation.

Project description

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).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nnunetv2-2.8.0.tar.gz (210.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nnunetv2-2.8.0-py3-none-any.whl (293.1 kB view details)

Uploaded Python 3

File details

Details for the file nnunetv2-2.8.0.tar.gz.

File metadata

  • Download URL: nnunetv2-2.8.0.tar.gz
  • Upload date:
  • Size: 210.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nnunetv2-2.8.0.tar.gz
Algorithm Hash digest
SHA256 32908c4a52a0ee187dadbdeed2626b11dead0889dd3de87291e36b12762217d7
MD5 7e6b033955fb35f843d9dd91e9a7bae0
BLAKE2b-256 57d402dea2439f64ab414a870ee93358891914d985eda91c92f707afb204b10f

See more details on using hashes here.

Provenance

The following attestation bundles were made for nnunetv2-2.8.0.tar.gz:

Publisher: publish.yml on MIC-DKFZ/nnUNet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nnunetv2-2.8.0-py3-none-any.whl.

File metadata

  • Download URL: nnunetv2-2.8.0-py3-none-any.whl
  • Upload date:
  • Size: 293.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nnunetv2-2.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ca592a5d87b86d152910b80f7365b57d2bec35861cd779004b2b49a06156502
MD5 7af1ff5183d691a402bc9ced069d6c03
BLAKE2b-256 f483e54effdc7bf724e43308478b6c1de809335b387d827dec45727cfc8c73fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for nnunetv2-2.8.0-py3-none-any.whl:

Publisher: publish.yml on MIC-DKFZ/nnUNet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page