计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
evaluation-tools【效率与协作】Use when evaluating RobustVideoMatting alpha/foreground predictions, preparing LR or HR metric directories, generating evaluation composites, or interpreting speed benchmarks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about measuring RVM predictions, preparing prediction/ground-truth trees, understanding LR versus HR metrics, or explaining published speed numbers.
pha_mad, pha_mse, pha_grad, pha_conn,
pha_dtssd, fgr_mad, or fgr_mse.evaluate_lr.py, evaluate_hr.py, videomatte_512x288,
videomatte_1920x1080, or Excel metric output.Route other tasks elsewhere:
Ensure predictions and ground truth use the exact same dataset/clip/frame
tree. The evaluator expects alpha under pha/ and foreground under fgr/
when foreground metrics are selected.
Choose LR or HR flow:
pha_conn.For a safe tiny assertion check, use the bundled JSON evaluator:
python scripts/rvm_evaluate_lr_tiny.py \
--pred-dir pred/videomatte_512x288 \
--true-dir true/videomatte_512x288 \
--metrics pha_mad pha_mse pha_dtssd fgr_mad fgr_mse
For full repo-style evaluation, mirror the metric names and directory constraints in references/evaluation-reference.md.
If the user asks for speed, separate tensor throughput from media IO. The README speed table is based on a CUDA tensor loop, not the Python converter's full decode/encode pipeline.
fgr/ frames and a
non-empty alpha mask.A good answer states the exact directory shape, names the metrics and runtime requirements, checks frame-name equality, chooses LR/HR appropriately, and explains whether any skipped compositing or CUDA benchmark is outside the safe verification scope.