计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
rl-training【效率与协作】Routes Hydra and RSL-RL policy training, evaluation, checkpoint loading, task configuration, observation and action contracts, WeightPolicy bridging, and TensorBoard workflows for this quadruped MPC project.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task involves training or evaluating the learned MPC-weight policy, selecting A1/Aliengo/Go1, loading or resuming a checkpoint, checking observations/actions/rewards, or viewing RSL-RL TensorBoard logs.
Read workflows for the public package/repository installation, Hydra overrides, and the train/test/resume/checkpoint decision.
Read configuration before changing task, device, environment count, or learning settings.
Read API and bridge contracts before wiring a policy to an MPC runner or diagnosing tensor shape errors.
From this installed sub-skill directory, run the bundled safe command/config checker when planning a run:
python scripts/validate_rl_config.py --task Aliengo --num-envs 1
python scripts/run_training.py --help
The installed-package launcher is a dry run unless --run is supplied.
Read troubleshooting when an import, Hydra resolution, checkpoint, device, or logging step fails.
RL environment construction, training, evaluation, and WeightPolicy import
require NVIDIA Isaac Gym Preview 4 in addition to the documented Python,
PyTorch/CUDA, and RSL-RL stack. The current inspection handoff proved
PyTorch 1.10/CUDA 11.3 on an A100, package imports, and mpc_osqp, but did not
prove Isaac Gym; isaacgym is unavailable. Treat all RL/simulation execution
as blocked until the official SDK is installed and imported. Do not
substitute a CPU import or a CUDA tensor smoke test for this gate. Use
isaac-gym-simulation for SDK/API and
hardware diagnosis, and mpc-control for the
controller side of the bridge.
task, headless,
num_envs, checkpoint, test, devices, seed, and max_iterations.
Use the bundled launcher only after the backend gate passes; public commands
and fallback behavior are in workflows.scripts/run_training.py launcher. It resolves the installed
training entry point and does not require opening a checkout-local script.
Hydra uses key=value overrides, not an argparse option catalog.num_obs=48 and num_actions=12. A checkpoint with incompatible
actor/critic dimensions is not made safe by changing num_envs.Before handing off a requested run, confirm:
A1, Aliengo, or Go1;num_envs is positive and fits GPU memory;test=True is used only for evaluation and test=False for training/resume;