计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
generation【效率与协作】Use ALAE checkpoints for demo, image generation, reconstructions, style mixing, traversals, and principal-direction management.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user wants to run ALAE or StyleALAE from an existing pretrained or trained checkpoint for:
interactive_demo.py GUI;Do not use this sub-skill to train checkpoints, prepare raw datasets/TFRecords, or run quantitative metrics. Route those to ../training/, ../data-preparation/, and ../metrics/ respectively.
direction_*.npy labels, FFHQ-specific caveats, and the expensive regeneration sequence.When running native ALAE subdirectory scripts from a checkout root, first set that checkout root on the import path:
export PYTHONPATH="$PYTHONPATH:$(pwd)"
Before launching those native scripts, run the bundled checkers from this sub-skill directory (or replace scripts/... with the actual path to this generated skill) and point --repo-root at the ALAE checkout. They validate assets without loading models or touching CUDA:
python scripts/check_generation_assets.py \
--repo-root <ALAE-checkout> \
--config ffhq
python scripts/check_principal_directions.py \
--repo-root <ALAE-checkout> \
--inspect-shapes
The checkers only inspect files and config text. A failed preflight should be fixed before launching interactive_demo.py, style_mixing/stylemix.py, or make_figures/*.py.
interactive_demo.py; it needs a display/GUI context, CUDA, a checkpoint, sample face images, and FFHQ-compatible direction files.style_mixing/stylemix.py; validate DATASET.STYLE_MIX_PATH/src and dst image counts first.make_figures/make_generation_figure.py; it only needs the selected config and checkpoint.make_figures/make_recon_figure_*.py script; validate DATASET.SAMPLES_PATH and any hard-coded sample filenames called out in the workflow reference.make_figures/make_traversarls.py and verify direction files first.../../scripts/download_alae_artifacts.py; otherwise treat the repository download manifest as a network action requiring explicit approval.