인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

pytorch-a2c-ppo-acktr-gail

pytorch-a2c-ppo-acktr-gail

Operate the PyTorch A2C/PPO/ACKTR/GAIL reinforcement-learning repository, including training commands, model components, GAIL demos, and troubleshooting.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: pytorch-a2c-ppo-acktr-gail description: "Operate the PyTorch A2C/PPO/ACKTR/GAIL reinforcement-learning repository, including training commands, model components, GAIL demos, and troubleshooting." disable-model-invocation: true metadata: disco-role: operating license: MIT

pytorch-a2c-ppo-acktr-gail

Use this repo skill when a task involves the PyTorch implementation of A2C, PPO, ACKTR, and GAIL reinforcement-learning workflows, including Gym environment setup, training command construction, policy/rollout internals, checkpoint playback, or imitation-learning expert data.

Start Here

Sub-skill Routes

TaskLoad
Build or debug A2C/PPO/ACKTR training commands, evaluation intervals, checkpoint playback, Gym environment wrappers, or long-run experiment settings.sub-skills/training-workflows/SKILL.md
Inspect or modify Policy, CNNBase, MLPBase, distributions, RolloutStorage, A2C_ACKTR, PPO, KFAC, schedules, or tensor-shape behavior.sub-skills/model-components/SKILL.md
Convert expert demonstrations, validate GAIL HDF5/.pt formats, use ExpertDataset, or explain Discriminator/--gail behavior.sub-skills/gail-imitation/SKILL.md

Minimal Public Setup

This is an older Gym/PyTorch codebase. A practical environment needs the package, PyTorch, Gym, Stable-Baselines3 wrapper utilities, PyBullet support if using Bullet envs, Matplotlib, and h5py for GAIL files.

pip install -e .
pip install h5py
python - <<'PY'
import a2c_ppo_acktr
from a2c_ppo_acktr.model import Policy
from a2c_ppo_acktr.storage import RolloutStorage
print('import ok')
PY

If pybullet_envs fails with a Gym registry error, read references/troubleshooting.md before changing training code.

Safe Verification First

Do not start full Atari, MuJoCo, PyBullet, or GAIL training just to verify the setup. Prefer:

python scripts/check_install.py
python sub-skills/training-workflows/scripts/build_training_command.py --preset atari-ppo --env-name PongNoFrameskip-v4
python sub-skills/model-components/scripts/smoke_model_components.py
python sub-skills/gail-imitation/scripts/convert_gail_h5_to_pt.py --help

Only run long training after the user confirms the target environment, simulator dependencies, data availability, compute budget, and output directories.

저장한 Skills