본문으로 건너뛰기
cccskills
무료GitHub에 공개

drl-pytorch

Route DRL-Pytorch reinforcement-learning workflows for standalone PyTorch Q-learning, DQN-family, PPO, DDPG, TD3, SAC, Atari DQN, and Actor-Sharer-Learner scripts.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(23)

  • SKILL.md4.9 KB
  • references/algorithm-index.md4.3 KB
  • references/quickstart-and-environment.md4.6 KB
  • references/repo-provenance.md3.0 KB
  • references/repo-routing-metadata.json438 B
  • references/troubleshooting.md4.5 KB
  • scripts/drl_pytorch_algorithm_matrix.py9.8 KB
  • scripts/drl_pytorch_safe_smoke.py4.3 KB
  • sub-skills/atari-and-asl-workflows/references/asl-framework.md8.9 KB
  • sub-skills/atari-and-asl-workflows/references/atari-runtime-and-wrappers.md9.0 KB
  • sub-skills/atari-and-asl-workflows/references/troubleshooting.md7.8 KB
  • sub-skills/atari-and-asl-workflows/scripts/smoke_atari_asl.py10.2 KB
  • sub-skills/atari-and-asl-workflows/SKILL.md4.5 KB
  • sub-skills/policy-and-actor-critic-control/references/algorithm-workflows.md8.5 KB
  • sub-skills/policy-and-actor-critic-control/references/api-and-cli-reference.md11.6 KB
  • sub-skills/policy-and-actor-critic-control/references/troubleshooting.md8.5 KB
  • sub-skills/policy-and-actor-critic-control/scripts/smoke_policy_control.py9.9 KB
  • sub-skills/policy-and-actor-critic-control/SKILL.md2.8 KB
  • sub-skills/value-based-discrete-control/references/algorithm-workflows.md7.8 KB
  • sub-skills/value-based-discrete-control/references/api-and-cli-reference.md10.0 KB
  • sub-skills/value-based-discrete-control/references/troubleshooting.md6.3 KB
  • sub-skills/value-based-discrete-control/scripts/smoke_value_based.py11.4 KB
  • sub-skills/value-based-discrete-control/SKILL.md2.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

DRL-Pytorch Repo Skill

Use this skill when a task involves the XinJingHao DRL-Pytorch repository or its standalone PyTorch reinforcement-learning scripts: Q-learning, DQN/DDQN/Dueling DQN, prioritized replay, C51, NoisyNet, PPO, DDPG, TD3, SAC, Atari NoFrameskip DQN, or Actor-Sharer-Learner.

Do not use this skill for Stable-Baselines3, CleanRL, Tianshou, PettingZoo, RLHF packages, or generic RL theory unless the task explicitly needs DRL-Pytorch command/API details.

First checks

  1. Read repository provenance if you need to decide whether this skill matches a current checkout or should be refreshed.
  2. Read quickstart and environment before installing extras, running smoke checks, or starting training.
  3. Use algorithm index to route by algorithm name, action space, EnvIdex, and checkpoint pattern.
  4. Use cross-cutting troubleshooting for CUDA defaults, optional Gymnasium extras, colliding module imports, checkpoints, TensorBoard, or stochastic training failures.

Choose the sub-skill

Request signalRead
Q-learning, CliffWalking, DQN, DDQN, Dueling, PER, prioritized replay, C51, NoisyNet, CartPole, LunarLander discretevalue-based-discrete-control
PPO, DDPG, TD3, SAC, actor-critic, policy gradient, Pendulum, LunarLanderContinuous, Humanoid, HalfCheetah, BipedalWalker, continuous controlpolicy-and-actor-critic-control
Atari, Pong, Enduro, NoFrameskip, AtariNames, ALE ROMs, OpenCV wrappers, EnvPool, Actor-Sharer-Learner, ASL multiprocessingatari-and-asl-workflows

If a task spans multiple algorithms, start with the root algorithm index, then read each owning sub-skill. Keep value-based non-Atari DQN separate from Atari DQN: both use DQN terminology but have different environments, wrappers, dependencies, and checkpoints.

Repository operating model

DRL-Pytorch is not an installable Python distribution. It is a script collection where each algorithm directory has its own main.py, local implementation module, and often a colliding utils.py. Commands that run original launchers must be executed from the selected algorithm directory in the user's DRL-Pytorch checkout. Bundled scripts in this skill accept --repo-root so diagnostics do not depend on the checkout used to create this skill.

Baseline CPU-safe dependencies for modern workflows are Python 3.11, Gymnasium 0.29.x, NumPy 1.26.x, PyTorch 2.1.x, TensorBoard for --write True, and Matplotlib for C51 render helpers. Optional extras include Box2D, MuJoCo, Atari ALE/ROMs/OpenCV, EnvPool, and CUDA acceleration.

Safe diagnostics

Use the bundled algorithm matrix without a checkout:

python scripts/drl_pytorch_algorithm_matrix.py --format table

Use no-training diagnostics when a DRL-Pytorch checkout is available:

python scripts/drl_pytorch_safe_smoke.py --repo-root <DRL-Pytorch-checkout> --suite all

For narrower checks:

python scripts/drl_pytorch_safe_smoke.py --repo-root <DRL-Pytorch-checkout> --suite value
python scripts/drl_pytorch_safe_smoke.py --repo-root <DRL-Pytorch-checkout> --suite policy
python scripts/drl_pytorch_safe_smoke.py --repo-root <DRL-Pytorch-checkout> --suite atari

The smoke helpers import modules and run tiny CPU object/network checks. They do not train, render, download Atari ROMs, create optional Box2D/MuJoCo/Atari environments, write checkpoints, launch TensorBoard, or start EnvPool workers.

Training guardrails

  • Set --dvc cpu or --device cpu for CPU-only checks; several launchers default to CUDA.
  • Prefer --Max_train_steps 0 --write False --render False before any real training when the launcher supports it.
  • Install Box2D only for LunarLander/BipedalWalker, MuJoCo only for Humanoid/HalfCheetah, Atari extras/ROMs/OpenCV only for Atari NoFrameskip, and EnvPool only for ASL.
  • Treat full training, rendering, checkpoint playback, Atari environment creation, and ASL multiprocessing as user-approved side-effectful work.
  • Check checkpoint filename conventions before --Loadmodel True; binaries are not bundled in this skill.

If editing or refreshing

When repository code changes, refresh from source evidence rather than patching this skill by memory. Pay special attention to launcher flags, EnvIdex maps, class names, checkpoint naming, optional dependency gates, and repeated local module names.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa

무료

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa-v2

무료

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

ab3dmot

무료

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 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-Skill3392026년 9월 3일 업데이트

acme

무료

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

VectorSpaceLab의 스킬 모두 보기

이 스킬의 문제 신고