Training and evaluation

From VectorSpaceLab/AREX-Skill · View interactive version

Training and evaluation is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Train, evaluate, and export HumanoidVerse policies with PPO, PPODeltaA, Hydra overrides, simulator selection, motion tracking, locomotion, and delta-action workflows.

How to use this skill

Skill file

training-and-evaluation

Use this sub-skill when a user asks for HumanoidVerse policy training, checkpoint evaluation, ONNX export, simulator/backend choice, Hydra override selection, phase-based motion tracking, locomotion, open-loop delta-action training, or closed-loop delta-action finetuning.

Run ASAP training/evaluation entry points from the repository checkout root. The bundled helper scripts are skill-root-relative and accept --repo-root <asap-checkout>. The repo entry points are scripts, not package modules: python humanoidverse/train_agent.py ... and python humanoidverse/eval_agent.py .... Do not use python -m humanoidverse.train_agent, because the source imports utils.config_utils relative to the humanoidverse/ script directory.

Do not use this sub-skill for

Required reading order

  1. Read the root router: CODE0.
  2. Read root install/backend guidance before choosing a simulator: CODE0.
  3. Read this sub-skill's command recipes: CODE0.
  4. Read CLI/config/class behavior before changing Hydra groups or checkpoint/export assumptions: CODE0.
  5. If anything fails, read this sub-skill's predictable failures first: CODE0, then root troubleshooting CODE1.

Safe preflight checks

These checks do not start simulator training:

# Confirm that Hydra can list config groups.
python humanoidverse/train_agent.py --help
python humanoidverse/eval_agent.py --help

# Build a command without executing it.
python sub-skills/training-and-evaluation/scripts/build_training_command.py \
  --repo-root <asap-checkout> \
  --workflow motion-tracking \
  --motion-file humanoidverse/data/motions/g1_29dof_anneal_23dof/TairanTestbed/singles/0-TairanTestbed_TairanTestbed_CR7_video_CR7_level1_filter_amass.pkl

# Turn a training command into a Hydra composition-only smoke check.
python sub-skills/training-and-evaluation/scripts/build_training_command.py \
  --repo-root <asap-checkout> \
  --workflow motion-tracking \
  --motion-file humanoidverse/data/motions/g1_29dof_anneal_23dof/TairanTestbed/singles/0-TairanTestbed_TairanTestbed_CR7_video_CR7_level1_filter_amass.pkl \
  --cfg-job

Run the root doctor script before runtime commands to get a single import/help report:

python scripts/asap_doctor.py --repo-root <asap-checkout> --section core

Route by prompt

| User asks for | Use | Primary recipe |

| --- | --- | --- |

| "train motion tracking", "imitate this motion", "CR7 policy" | train_agent.py with +exp=motion_tracking | CODE2 |

| "train locomotion" or "test IsaacGym install with locomotion" | train_agent.py with +exp=locomotion | CODE2 |

| "train delta action model" | train_agent.py with +exp=train_delta_a_open_loop | CODE2 |

| "finetune with delta A" or "closed-loop delta action" | train_agent.py with +exp=train_delta_a_closed_loop and algo.config.policy_checkpoint=... | CODE3 |

| "evaluate checkpoint", "visualize policy" | eval_agent.py +checkpoint=... | CODE1 |

| "export ONNX" | eval_agent.py +checkpoint=...; export happens before the eval loop | CODE1 |

| "which Hydra overrides?" | Choose config groups and scalar overrides from the workflow table | CODE0 |

Backend selection rules

Common outputs

Cross-links

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.