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

continuous-control

continuous-control

【效率与协作】Guides minimalRL DDPG, continuous PPO, and SAC workflows for Pendulum-style continuous-action control.

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

技能说明

GitHub

name: continuous-control description: "Guides minimalRL DDPG, continuous PPO, and SAC workflows for Pendulum-style continuous-action control." disable-model-invocation: true metadata: disco-role: operating license: MIT

Continuous-Control Workflows

Use this sub-skill when a task asks about minimalRL's continuous-action Pendulum algorithms: DDPG, PPO-Continuous, or SAC.

Route by task

Do not use this sub-skill for

Quick operating workflow

  1. Confirm the environment has continuous actions. The minimalRL continuous scripts assume Pendulum-like observations of length 3 and a one-dimensional action in [-2, 2].

  2. Choose the algorithm family:

    • DDPG for deterministic actor plus critic, replay, OU exploration, and soft target updates.
    • Continuous PPO for on-policy Gaussian policy with clipped objective.
    • SAC for stochastic tanh-Gaussian policy, twin critics, entropy temperature update, and replay.
  3. Read references/api-reference.md before changing tensor shapes or action scaling.

  4. Run the smoke helper:

    python sub-skills/continuous-control/scripts/smoke_continuous_control.py --algorithm all
    
  5. For action range, log_prob, state/action concatenation, replay warm-up, or target update failures, read references/troubleshooting.md.

Bundled runtime files

我的收藏