计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
training【效率与协作】Guides command-line stylegan2_pytorch training, checkpoint resume/restart, image generation, interpolation, augmentation, logging, and CUDA troubleshooting.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill for the installed stylegan2_pytorch command. It covers
training from image folders, checkpoint behavior, sample generation,
interpolation GIFs, low-data augmentation, optional logging/FID features,
transparent images, and memory/backend choices.
../../scripts/check_install.py.--data, --name, --image_size,
--batch_size, --gradient_accumulate_every, --network_capacity, output
directories, and whether --new is needed.--name and output directories;
omit --new so the latest model_<n>.pt is loaded.--new and make the
output path decision explicit because the command clears the existing project
model/results directories.--generate after a checkpoint exists;
use --load_from and --trunc_psi when the user requests a specific
checkpoint or truncation.--generate_interpolation, tune
--interpolation_num_steps, and add --save_frames only when individual
frame files are desired.--aug_prob and --aug_types; document that
supported differentiable augmentation types come from the package's
DiffAugment map.--batch_size, raise
--gradient_accumulate_every, and lower --network_capacity before changing
core architecture flags.--calculate_fid_every) needs pytorch-fid; Aim
logging (--log) needs an Aim service/UI setup for visualization; Apex fp16
(--fp16) needs a compatible Apex install.scripts/make_tiny_fixture.py creates a small
deterministic RGB or RGBA image folder for smoke commands when the user has no
safe local fixture.scripts/train_smoke.py wraps the installed CLI with
one-step, low-capacity defaults and temporary output directories. Use
--dry-run first when explaining or reviewing commands; execute it only in a
CUDA environment.ModelLoader checkpoint sampling; route
that to programmatic-api.