Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
humanoid-gym【部署与运维】Guide Humanoid-Gym users through PPO training, XBot-L environment customization, and MuJoCo sim-to-sim deployment.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a future agent needs to work with Humanoid-Gym: training or evaluating the bundled humanoid_ppo task, changing the XBot-L environment, or validating/exporting a policy for MuJoCo sim-to-sim.
references/repo-provenance.md if you need to compare the current checkout against the snapshot used to build this skill.references/installation-and-backends.md for Python, torch, Isaac Gym, MuJoCo, and CUDA readiness.references/troubleshooting.md when setup, import, backend, or checkpoint selection fails.sub-skills/training-and-evaluation/ — PPO training, evaluation, checkpoint loading, and TorchScript export.sub-skills/environment-customization/ — XBot-L config, rewards, terrain, and new robot/environment setup.sub-skills/sim2sim-deployment/ — MuJoCo deployment of exported policies and asset/policy validation.humanoid1.0.0humanoid_ppoplay.py export path writes logs/<experiment_name>/exported/policies/policy_1.ptUse a Python 3.8 environment for the repo's documented backend stack.
import humanoid and python -m pip check.Suggested smoke check:
python -c "import humanoid; print(humanoid.LEGGED_GYM_ROOT_DIR)"
If Isaac Gym is missing, stay in static/command-building mode and use the bundled helpers instead of claiming native training or evaluation succeeded.
scripts/inspect_humanoid_gym_install.py — run this when you want a safe root-level install/resource/backend summary without launching Isaac Gym.humanoid/scripts/train.py and humanoid/scripts/play.py are the user-facing PPO entry points, but they require the Isaac Gym backend for real execution.humanoid/scripts/play.py exports the actor only and hard-codes render/export side effects unless the source file is edited.humanoid/scripts/sim2sim.py uses MuJoCo viewer rollout and is best validated with the bundled sim2sim sub-skill.