技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
data-and-training【数据与研究】Guide dataset layout, batch preprocessing outputs, ImageFolder loader semantics, GAN training CLI/options, checkpoint/resume behavior, and validation before training.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when you need to prepare Photo2Cartoon training data, validate the dataset/photo2cartoon layout, understand preprocessing outputs, or review the GAN training launch and checkpoint flow.
Route away from this sub-skill when the main topic is:
../model-internals/SKILL.md../preprocessing/SKILL.md.pt / .onnx inference assets or prediction flow: ../portrait-inference/SKILL.mdreferences/data-formats.md for the dataset tree, supported image extensions, ImageFolder semantics, and preprocessing output naming.references/training-workflow.md for the train.py CLI, defaults, result-directory naming, checkpoint keys, and resume behavior.references/troubleshooting.md when a split is missing, a folder is empty, an extension is ignored, a checkpoint load fails, or GPU memory is tight.python scripts/validate_dataset_layout.py --dataset-root /path/to/dataset/photo2cartoon
python scripts/build_training_command.py --repo-root /path/to/photo2cartoon-checkout --dataset photo2cartoon
Use --strict when unsupported files should fail the dataset check and --check-images when Pillow decode validation is useful.
dataset/photo2cartoon/{trainA,trainB,testA,testB} layoutImageFolder scanningtrain.py defaults, result-directory naming, and checkpoint keys--resume / --pretrained_weights expectationsscripts/validate_dataset_layout.py: safe, argparse-based dataset layout validator with explicit --dataset-root and optional stricter checks.scripts/build_training_command.py: guarded command builder for source-compatible train/test launches; dry-run by default and executes only with --execute.