界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

data-preparation

data-preparation

【数据与研究】Prepares LTX training datasets by validating manifests, drafting scene-splitting and preprocessing commands, and checking cached latents, captions, references, and masks before training.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: data-preparation description: "Prepares LTX training datasets by validating manifests, drafting scene-splitting and preprocessing commands, and checking cached latents, captions, references, and masks before training." disable-model-invocation: true metadata: disco-role: operating license: NOASSERTION

Data Preparation

Use this sub-skill when the request is about getting LTX training data into a safe, trainable shape: manifest validation, scene splitting, caption planning, preprocessing command drafting, reference or mask prep, and inspection of cached .precomputed outputs.

Route away

  • Training mode selection, config authoring, launch, resume, or monitoring → ../training-workflows/SKILL.md
  • Inference or validation with trained LoRAs → ../inference-pipelines/SKILL.md
  • GPU / VRAM / OOM / backend tuning → ../performance-backends/SKILL.md

Fast paths

  • Validate or normalize a manifest: scripts/validate_dataset_manifest.py
  • Draft a preprocessing command: scripts/build_preprocess_command.py
  • Run the bundled preprocessing launcher after approval: scripts/process_dataset.py
  • Draft a scene-splitting command: scripts/build_scene_split_command.py
  • Run the bundled scene splitter after approval: scripts/split_scenes.py
  • Inspect precomputed latents and masks: scripts/inspect_precomputed_latents.py
  • Use the bundled preprocessing internals only when you need to inspect or reuse them directly: scripts/process_videos.py, scripts/process_captions.py, and scripts/decode_latents.py

What this sub-skill covers

  • CSV, JSON, and JSONL manifests with caption, media, reference, and mask columns.
  • Resolution buckets and audio-duration rules for video, image, mixed, and audio-only datasets.
  • Unified versus split checkpoint preprocessing flags.
  • Captioning backend choice, credential boundaries, and spot-check approval.
  • Reference and mask preprocessing layouts for IC-LoRA and inpainting.
  • Safe checks for stale or mismatched cached outputs.

Working rules

  • Do not start captioner servers, split videos, encode media, or download models here.
  • Use the bundled scripts to validate inputs and draft commands; they are safe to run from any current directory.
  • Prefer a fresh .precomputed/ directory when the model, Gemma root, trigger token, bucket list, or reference scale factors change.
  • For mixed image + video datasets, plan multiple buckets that include F=1; the later training step must use batch size 1.
  • For IC-LoRA, inpainting, and audio-only datasets, require the corresponding reference or audio inputs before preprocessing.

Read next

  • references/dataset-formats.md
  • references/captioning-and-preprocessing.md
  • references/reference-and-mask-prep.md
  • references/troubleshooting.md
我的收藏