nnunet-segmentation

Segment anatomical structures and lesions in medical images using nnU-Net.

298|27|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill nnunet-segmentation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nnunet-segmentation
Source: https://github.com/jaechang-hits/SciAgent-Skills/tree/main/skills/cell-biology/nnunet-segmentation
Command: npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill nnunet-segmentation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires nnunetv2, torch, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the complex and time-consuming process of segmenting anatomical structures or lesions within medical images, eliminating the need for manual annotation or extensive hyperparameter tuning.

Core Features & Use Cases

  • Self-Configuring Framework: nnU-Net automatically selects the optimal network architecture, preprocessing, and training strategy for any imaging modality (CT, MRI, microscopy, etc.).
  • State-of-the-Art Performance: Achieves top results on diverse segmentation tasks with minimal user input.
  • Use Case: Automatically segmenting tumors in MRI scans for radiotherapy planning, or identifying organs in CT scans for quantitative analysis, using a dataset of 50 annotated patient scans.

Quick Start

Train a 3D full-resolution segmentation model for dataset 7 using the command nnUNetv2_train 7 3d_fullres 0 --npz.

Frequently Asked Questions about nnunet-segmentation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate medical image segmentation for MRI and CT scans?

To automate medical image segmentation, use the nnU-Net framework to automatically configure deep learning architectures and preprocess MRI and CT scans without manual tuning. It leverages self-configuring networks to achieve robust results.

What is the best way to train a 3D segmentation model without hyperparameter tuning?

The best way to train without manual hyperparameter tuning is using nnU-Net, which automatically selects the optimal network architecture and training strategy. You can start training a 3D full-resolution model with a single command like nnUNetv2_train.

Do I need to convert my medical imaging data to NIfTI format for nnU-Net?

Yes, you need to convert your medical imaging data to NIfTI format for nnU-Net. The framework specifically requires NIfTI formatted data to process scans and automatically apply preprocessing for deep learning training.

How does nnU-Net handle preprocessing and cross-validation for biomedical images?

nnU-Net handles biomedical images by automatically applying self-configuring preprocessing and utilizing 5-fold cross-validation. This ensures robust and state-of-the-art segmentation results across diverse imaging modalities.

Can I use PyTorch to segment tumors in MRI scans for radiotherapy planning?

Yes, you can use PyTorch to segment tumors in MRI scans for radiotherapy planning. This Skill leverages the PyTorch-based nnU-Net framework to automatically identify lesions and anatomical structures for quantitative analysis.

What environment variables are required to train a medical image segmentation model?

Training a medical image segmentation model requires setting specific environment variables for raw, preprocessed, and results directories. These paths ensure the framework correctly stores and accesses data during automatic preprocessing and 5-fold cross-validation.