nnU-Net is a framework for out-of-the box image segmentation.
Actively maintained. Last release 5 months ago, commits in 20 of the last 26 weeks. A safe choice.
pip install nnunetv2nnU-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.

Start Here
- First-time setup: Installation and setup
- First run on your own data: Getting Started
- Task-oriented docs: How-to Guides
- Formats, commands, and configuration details: Reference
- Concepts and rationale: Explanation
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:
- New users: Getting Started

