Skip to content
cccskills
FreePublished on 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.

The English summary is being prepared. Showing the original description.

See how to install

Files included (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 (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

3ddfa

Free

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

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.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

acme

Free

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill