customization-extension
БесплатноБез исполняемых скриптовНе проверенExtend nnU-Net v2 with custom trainers, planners, preprocessors, normalization, image IO, label/region handling, external trainer deployment, and safe class…
от lza6★ 19 звёзд на GitHubОб этом скилле
nnU-Net v2 Customization and Extension
Use this sub-skill when the task is to change nnU-Net behavior by adding or selecting custom Python classes rather than only running standard workflows.
Route here for
- Implementing or selecting custom
nnUNetTrainersubclasses for loss, sampling, augmentation, optimizer, scheduler, checkpoint, or network changes. - Making custom trainers portable for inference or continued training through checkpoint rename,
nnUNet_extTrainer, editable source placement, or a fork. - Implementing custom
ExperimentPlanner,DefaultPreprocessorsubclasses, resampling behavior, normalization classes, or image reader/writers. - Understanding class discovery by name for trainers, planners, preprocessors, normalization schemes, label managers, and reader/writers.
- Diagnosing
trainer/planner/preprocessor/reader class not found, external trainer import errors, or old custom trainer API signatures. - Designing label/region/ignore-label behavior only when it affects custom code or extension compatibility.
Do not handle here
- Dataset folder layout,
dataset.jsonbasics, file naming, and routine region/ignore-label authoring: usedata-preparation. - Running planning/preprocessing commands or deciding routine reruns: use
planning-preprocessing. - Routine training command matrices, folds, resume, validation, or selecting a built-in trainer by name: use
training-configuration. - Inference, ensembling, evaluation, pretrained model import/export, or model use: use
inference-evaluation.
Fast path
- Identify the extension point and the class name nnU-Net will resolve: trainer, planner, preprocessor, normalization scheme, image reader/writer, label manager, or network architecture.
- Prefer subclassing an existing nnU-Net implementation and overriding the smallest method needed.
- If the extension changes preprocessing output, use a distinct plans name or
data_identifierand rerun planning/preprocessing for affected configurations. - For custom trainers used outside the development environment, choose a sharing strategy before distributing checkpoints.
- Before running expensive jobs, list available classes with the bundled read-only helper:
python sub-skills/customization-extension/scripts/list_available_nnunet_classes.py --kind trainer - If a class is external, set
nnUNet_extTrainerfor trainer lookup or install/place source code so normal Python imports work.
Bundled references
references/extension-points.md: extension hook map, class names, plan fields, dataset metadata interactions, and discovery rules.references/custom-trainers-and-sharing.md: trainer subclass patterns and model-sharing choices for custom trainers.references/troubleshooting.md: lookup, import, API-signature, sharing, image IO, normalization, region, and ignore-label failures.
Bundled helper
list_available_nnunet_classes.py imports nnU-Net and prints discovered class names without modifying files, checkpoints, plans, or environment variables. It can inspect built-in locations and optional external trainer roots:
python sub-skills/customization-extension/scripts/list_available_nnunet_classes.py --kind all
python sub-skills/customization-extension/scripts/list_available_nnunet_classes.py --kind trainer --external-trainer-dir /path/to/trainers
Установить customization-extension в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл customization-extension?
Extend nnU-Net v2 with custom trainers, planners, preprocessors, normalization, image IO, label/region handling, external trainer deployment, and safe class discovery.
Как установить скилл customization-extension?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл customization-extension запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic