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

training-and-evaluation

training-and-evaluation

【开发与工程】Compose and debug Diffusion Policy Hydra training, evaluation, Ray multirun, checkpoint evaluation, and benchmark logging commands.

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

技能说明

GitHub

name: training-and-evaluation description: "Compose and debug Diffusion Policy Hydra training, evaluation, Ray multirun, checkpoint evaluation, and benchmark logging commands." disable-model-invocation: true metadata: disco-role: operating license: MIT

Training and Evaluation

Use this sub-skill when you need to build or debug Diffusion Policy training and evaluation workflows.

Route here for

  • Single-seed Hydra training from train.py.
  • Checkpoint evaluation from eval.py.
  • Ray multirun orchestration from ray_train_multirun.py and ray_exec.py.
  • Offline aggregation of train_*/logs.json.txt from multirun_metrics.py-style logs.
  • Simulation benchmark routing for low-dim, image, hybrid, Robomimic, and video workspaces.
  • W&B, checkpoint, and output-tree diagnostics for training/evaluation runs.

Do not handle here

Operating workflow

  1. Choose the workspace config family and matching task config.
  2. Compose the resolved config with scripts/compose_experiment_config.py.
  3. Launch a single-seed train.py run or a Ray multirun.
  4. Inspect logs.json.txt, checkpoints, eval_log.json, and metrics/logs.json.txt.
  5. Use scripts/summarize_multirun_metrics.py to summarize finished train_* logs offline.

Core API names

  • BaseWorkspace.run() drives the training/evaluation lifecycle.
  • BaseWorkspace.save_checkpoint() and BaseWorkspace.load_checkpoint() manage checkpoint state.
  • policy.set_normalizer(...) and policy.predict_action(...) are the key policy hooks.
  • env_runner.run(policy) produces rollout metrics and videos.
  • JsonLogger, read_json_log, and TopKCheckpointManager shape the run logs.

Start here

Read the bundled references for command recipes, config structure, and troubleshooting:

我的收藏