跳到正文
cccskills
免费在 GitHub 公开

deep-reinforcement-learning-with-pytorch

Route and use the repository's PyTorch reinforcement-learning examples across tabular control, DQN, on-policy actor-critic, and off-policy continuous control.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(27)

  • SKILL.md3.6 KB
  • references/dependency-and-compatibility.md2.4 KB
  • references/plotting.md1.4 KB
  • references/repo-provenance.md1.2 KB
  • references/repo-routing-metadata.json503 B
  • references/troubleshooting.md2.9 KB
  • scripts/plot_training_curves.py3.6 KB
  • scripts/rl_env_compat_report.py8.1 KB
  • sub-skills/off-policy-continuous-control/references/checkpoint-playback.md4.0 KB
  • sub-skills/off-policy-continuous-control/references/troubleshooting.md4.9 KB
  • sub-skills/off-policy-continuous-control/references/workflow-guide.md6.3 KB
  • sub-skills/off-policy-continuous-control/scripts/continuous_control_compat_report.py10.3 KB
  • sub-skills/off-policy-continuous-control/SKILL.md4.0 KB
  • sub-skills/on-policy-actor-critic/references/troubleshooting.md5.5 KB
  • sub-skills/on-policy-actor-critic/references/workflows.md7.2 KB
  • sub-skills/on-policy-actor-critic/scripts/multiprocessing_env.py5.4 KB
  • sub-skills/on-policy-actor-critic/scripts/playback_saved_policy.py7.1 KB
  • sub-skills/on-policy-actor-critic/SKILL.md2.5 KB
  • sub-skills/tabular-control/references/algorithm-notes.md3.2 KB
  • sub-skills/tabular-control/references/troubleshooting.md2.4 KB
  • sub-skills/tabular-control/scripts/gridworld.py7.5 KB
  • sub-skills/tabular-control/scripts/tabular_control_demo.py8.2 KB
  • sub-skills/tabular-control/SKILL.md2.1 KB
  • sub-skills/value-based-discrete-control/references/dqn-family-map.md6.0 KB
  • sub-skills/value-based-discrete-control/references/troubleshooting.md3.4 KB
  • sub-skills/value-based-discrete-control/scripts/dqn_discrete_probe.py6.0 KB
  • sub-skills/value-based-discrete-control/SKILL.md3.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Deep Reinforcement Learning with PyTorch

This repo is a collection of single-file reinforcement-learning examples, not an installable Python package. Use this root skill as the router for the algorithm family that matches the user's request.

Read first

  • references/dependency-and-compatibility.md for Gym, Torch, env-ID, and optional-extra notes.
  • references/troubleshooting.md for repo-wide failure patterns.
  • references/plotting.md for the .npy curve format used by the plotting helper.
  • scripts/rl_env_compat_report.py for a quick non-training env / backend probe.
  • scripts/plot_training_curves.py for the bundled result-plotting helper.

Route map

User intentGo hereWhy
Q-learning, Sarsa, toy GridWorld, terminal-state bookkeepingsub-skills/tabular-control/SKILL.mdSmall tabular examples with deterministic update rules.
DQN, replay buffers, target networks, MountainCar reward shaping, TensorBoard logssub-skills/value-based-discrete-control/SKILL.mdChar01 DQN family on discrete Gym control.
REINFORCE, policy gradients, actor-critic, A2C, PPO, saved on-policy picklessub-skills/on-policy-actor-critic/SKILL.mdChar02 / Char03 / Char04 / Char07 on-policy workflows.
DDPG, SAC, TD3, continuous actions, checkpoint playback, BipedalWalker compatibilitysub-skills/off-policy-continuous-control/SKILL.mdChar05 / Char09 / Char10 continuous-control workflows.
Plot .npy learning curves or compare runsscripts/plot_training_curves.pyShared support workflow, not a training family.
Check Gym, CUDA, Box2D, and legacy env IDs before choosing a routescripts/rl_env_compat_report.pyFast inspection helper for classic-control and continuous-control support.

How to use this skill

  1. Identify the algorithm family first.
  2. Read the matching sub-skill before touching the original training scripts.
  3. Use the root compatibility helper when the question is about env IDs, optional extras, or device availability.
  4. Use the root plotting helper when the question is about .npy curves rather than algorithm behavior.
  5. Do not launch the repository's full default training loops unless the user explicitly asks for training and provides a budget.

Compatibility snapshot

  • The repository uses legacy Gym-style APIs and legacy env names in its source scripts.
  • Modern substitutes verified in the inspection environment are Pendulum-v1 and BipedalWalker-v3.
  • CUDA is optional, not required. If Torch sees a GPU, the continuous-control scripts may use it automatically.
  • TensorFlow appears in the historical requirements file but no discovered source file imports it.
  • Char08 ACER is docs-only in this checkout; there is no runnable ACER sub-skill.

When in doubt

  • If the task mentions CartPole, MountainCar, or reward shaping, start with DQN or on-policy classic-control troubleshooting rather than the continuous-control route.
  • If the task mentions Pendulum or BipedalWalker, use the continuous-control route and check the compatibility helper for the modern env ID.
  • If the task is only about plotting run curves or sanity-checking the environment, stay at the root support layer.
  • Keep runtime links inside this generated skill tree; do not depend on the original checkout remaining present.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3402026年9月3日 更新

3ddfa

免费

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3402026年9月3日 更新

3ddfa-v2

免费

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3402026年9月3日 更新

ab3dmot

免费

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3402026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3402026年9月3日 更新

acme

免费

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3402026年9月3日 更新

查看 VectorSpaceLab 的全部技能

报告此技能的问题