技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
training【数据与研究】Operate ECCV2022-RIFE training preflight, Vimeo triplet data layout, distributed CUDA/NCCL launch, TensorBoard logs, checkpoints, and resource planning.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user asks how to train or reproduce ECCV2022-RIFE, prepare the Vimeo90K triplet layout, plan a distributed CUDA launch, interpret world_size and batch size, locate training checkpoints/logs, or diagnose TensorBoard, NCCL, CUDA, and OOM failures.
Route away from this sub-skill when the user asks for image/video interpolation CLI usage, official benchmark interpretation, or model-architecture changes beyond the public Model.update training contract.
Full training is long-running, mutates the checkout, requires a Vimeo triplet dataset, and uses CUDA/NCCL. Do not start training automatically during routine assistance. Safe default actions are:
scripts/check_vimeo_triplet_layout.py.Run the actual distributed command only after the user confirms data availability, GPU allocation, wall-time budget, and that writing train_log/flownet.pkl, train/, and validate/ is acceptable.
references/training.md — data layout, launch commands, arguments, checkpoint/log outputs, evaluation loop, and resource planning.references/troubleshooting.md — missing data, TensorBoard, CUDA/NCCL, rank/world-size, OOM, checkpoint overwrite, and long-run safety issues.scripts/check_vimeo_triplet_layout.py — safe no-training validator for vimeo_triplet list files and sampled im1.png/im2.png/im3.png sequence files.When handling a training request:
vimeo_triplet/tri_trainlist.txt, vimeo_triplet/tri_testlist.txt, and vimeo_triplet/sequences/<clip>/im1.png, im2.png, im3.png for listed clips. The loader uses the first 95% of tri_trainlist.txt for training and the remaining 5% for validation.torch.device("cuda"), NCCL process group, DDP when local_rank != -1). TensorBoard is required by train.py but is not listed in the base requirements file.--world_size equal to the launcher process count. The README pattern is python3 -m torch.distributed.launch --nproc_per_node=4 train.py --world_size=4.--epoch 300, per-process --batch_size 16, and data-loader workers can make a run expensive. The README reports 16 CPUs, 4 GPUs, and about 20G memory for training.train_log/flownet.pkl after every epoch, overwriting the same filename; TensorBoard event files go to train/ and validate/.