技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
data-preparation【数据与研究】Routes HunyuanVideo-I2V latent-extraction and metadata-validation tasks for LoRA training, including the raw-video schema, bucket/stride rules, and the processed JSON and .npy layout.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user wants to extract VAE latents from raw videos, validate the raw metadata list, or inspect the processed dataset layout that LoRA training consumes.
hyvideo/hyvae_extract/ latent extraction.meta_file.list + caption JSON validation.json_path/*.json + .npy validation.../lora-training/SKILL.md.../inference/SKILL.md.references/workflows.md for the extraction flow and the bucket-size guidance.references/data-formats.md for the raw and processed schemas.references/troubleshooting.md for decord, metadata, cache, and VAE issues.../../references/checkpoints.md because extraction needs the VAE checkpoint tree.scripts/check_dataset_layout.py — validate raw or processed dataset structure. This helper lives in the generated skill; invoke it from the real checkout root with an explicit $SKILL_ROOT path.scripts/run_hyvae_extract.py — print or execute the canonical multi-GPU extraction command safely; pass --repo-root as the checkout containing hyvideo/.All executable commands below are run from the checkout root. The generated-skill helper path is $SKILL_ROOT/sub-skills/data-preparation/scripts, while the source config path is $CHECKOUT_ROOT/hyvideo/hyvae_extract/vae.yaml.
check_dataset_layout.py --mode raw.check_checkpoint_layout.py --mode extraction.run_hyvae_extract.py --repo-root "$CHECKOUT_ROOT" --config "$CHECKOUT_ROOT/hyvideo/hyvae_extract/vae.yaml" --dry-run.check_dataset_layout.py --mode processed before handing it to training.video_path and raw_caption.long caption field..npy latents and a sibling json_path/ directory.use_stride increases stride to 2 for fps >= 50.enable_multi_aspect_ratio assumes a square sample_size seed and uses the selected bucket list.