技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
data-preparation【数据与研究】Plan, validate, and convert datasets for CycleGAN, pix2pix, single-image, colorization, and Cityscapes workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to acquire or plan datasets, validate standard dataset layouts, combine paired A/B folders into side-by-side pix2pix images, convert Cityscapes-style files, or understand optional edge/evaluation data workflows for this repository.
Route elsewhere when the request is really about:
translation-workflowscustomizationreferences/data-layouts.md: dataset modes, required folders, supported image extensions, phases, A/B orientation, and model compatibility.references/asset-downloads.md: dataset names accepted by the download helpers, URL patterns, Cityscapes license exception, and network/storage warnings.references/advanced-external-workflows.md: optional Cityscapes FCN evaluation and HED edge extraction interfaces, prerequisites, and exclusion rationale.references/troubleshooting.md: empty/missing folders, filename and size mismatches, crop/load-size issues, download failures, Cityscapes conversion errors, and historical combiner caveats.scripts/validate_layout.py: safe import-free dataset layout validator for --mode unaligned|aligned|single|colorization --dataroot DATASET_ROOT.scripts/combine_pairs.py: Pillow-based A/B folder combiner for explicit fold paths or trainA/trainB/testA/testB dataset roots.scripts/prepare_cityscapes_dataset.py: self-contained Cityscapes converter that writes both paired train/test and unpaired trainA/trainB/testA/testB layouts.unaligned, pix2pix uses aligned, one-sided generator inference uses single, and colorization uses colorization.references/data-layouts.md, then run scripts/validate_layout.py before any training/test command is attempted.references/asset-downloads.md; do not perform network downloads unless the user explicitly approves the dataset name, license obligations, storage location, and expected size.scripts/combine_pairs.py. Keep strict filename and size matching unless the user deliberately preprocesses images first.gtFine and leftImg8bit trees, then convert with scripts/prepare_cityscapes_dataset.py. Validate the paired and unpaired outputs afterward.translation-workflows instead of continuing here.