training-and-experiments
Run and debug ProtoMotions training, inference, experiment configs, GPC/PEFT, domain randomization, checkpoints, and distributed jobs.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- training-and-experiments
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Run and debug ProtoMotions training, inference, experiment configs, GPC/PEFT, domain randomization, checkpoints, and distributed jobs.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/configuration-and-resume.md2.5 KB
- 参考文档references/domain-randomization-and-slurm.md2.8 KB
- 参考文档references/experiment-families.md2.4 KB
- 参考文档references/gpc-peft.md2.5 KB
- 参考文档references/training-cli.md2.3 KB
03 SKILL.md 正文
ProtoMotions training and experiments
Use this sub-skill for protomotions train-agent, protomotions inference-agent, experiment file design, algorithm-family selection, config overrides, checkpoint/resume behavior, GPC/PEFT, domain randomization, and SLURM/multi-GPU operations.
Read first
references/training-cli.md: command shapes, required arguments, inference overrides, and safe bounded runs.references/experiment-families.md: Mimic, ADD, AMP, ASE, MaskedMimic, GPC/PEFT, steering, and path-following routes.references/configuration-and-resume.md: dataclass config lifecycle and artifact roles.references/gpc-peft.md: tracker/prior/SFT/RLFT checkpoint contracts and PEFT actor shape.references/domain-randomization-and-slurm.md: sim2sim randomization and distributed/SLURM scaling.scripts/build_training_command.py: command-template generator that avoids hard-coding local paths.
Standard action pattern
- Identify the robot, simulator backend, motion file, experiment config, run name, env count, and batch size.
- Verify the backend environment and assets before training.
- Use
--create-config-onlywhen the task is to inspect or migrate configs without launching long training. - Use a new
--experiment-namefor config changes; resume ignores new training CLI overrides. - Use
--full-eval --headlessfor bounded inference validation. - For multi-GPU, remember
--num-envsand--batch-sizeare per GPU/process; total scale is multiplied by--ngpu * --nodes.
Common command skeletons
protomotions train-agent \
--robot-name g1 \
--simulator isaaclab \
--experiment-path <experiment.py> \
--experiment-name <run_name> \
--motion-file <motion_lib.pt> \
--num-envs 4096 \
--batch-size 16384 \
--ngpu 1
protomotions inference-agent \
--checkpoint <run_dir>/last.ckpt \
--simulator mujoco \
--num-envs 1 \
--headless \
--full-eval
Decision points
- Use Mimic for reference motion tracking; use AMP/ASE/ADD when adversarial style/skill embeddings or differential discriminators match the task.
- Use GPC/PEFT for staged discrete latent prior training and task adaptation.
- Use domain-randomized G1 tracker workflows for sim2sim/real deployment candidates.
- Use MuJoCo inference for quick G1/H1 debug; do not assume SMPL/SMPL-X spherical-joint transfer.
- Use
--overridesonly for scalar values; create a new experiment file for nested objects/lists/dataclass changes.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.