技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
data-preparation【数据与研究】Prepare nnU-Net v2-compatible datasets, path variables, dataset.json metadata, conversions, inference input naming, labels/regions/ignore-label conventions, and validation troubleshooting.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to make data acceptable to nnU-Net v2 before planning/preprocessing.
nnUNet_raw, nnUNet_preprocessed, nnUNet_results, or optional nnUNet_extTrainer.nnUNet_raw/DatasetXXX_Name folders with imagesTr, labelsTr, optional imagesTs, and dataset.json._0000, _0001, ... channel suffixes and a consistent file ending.dataset.json, including labels, regions, regions_class_order, ignore labels, and reader/writer overrides.nnUNetv2_plan_and_preprocess.planning-preprocessing.training-configuration.inference-evaluation.dataset.json, regions, ignore labels, and inference input format: references/data-formats.md.references/path-setup.md.references/conversion-and-validation.md.references/troubleshooting.md.Run the lightweight validator before planning/preprocessing:
python sub-skills/data-preparation/scripts/validate_dataset_json.py /path/to/nnUNet_raw/Dataset123_MyDataset
Add --check-files to verify that imagesTr and labelsTr filenames match dataset.json channel count and file ending. The helper checks metadata and names only; it does not inspect image geometry or label voxel values.