#742 · Primary category: Education & Research

pytorch-a2c-ppo-acktr-gail

a2c acktr actor-critic advantage-actor-critic ale atari continuous-control deep-learning deep-reinforcement-learning hessian kfac kronecker-factored-approximation mujoco natural-gradients ppo proximal-policy-optimization pytorch reinforcement-learning roboschool second-order

PyTorch implementation of Advantage Actor Critic (A2C), Proximal Policy Optimization (PPO), Scalable trust-region method for deep reinforcement learning using Kronecker-factored approximation (ACKTR) and Generative Adversarial Imitation Learning (GAIL).

Project last updated:05/29/22

GitHub Stars

3.9K

Forks

840

Contributors

31

License

MIT

Why we included this project

This repo is the reference implementation people point to when they start learning deep reinforcement learning. It covers the four policy-gradient algorithms most newcomers meet first, A2C, PPO, ACKTR, and GAIL, and each one is laid out plainly enough to read like a worked example rather than a framework you have to dig through. Tracing through the code is a good way to see how an advantage estimator slots into a policy update, how PPO keeps its updates from going too far, or how GAIL learns from demonstrations, all of which are easy to lose in the math. It also ships with tuned hyperparameters and Gym adapters for Atari, MuJoCo, PyBullet, and the DeepMind Control Suite, so you can run experiments quickly. One caveat: the author now steers people toward a newer JAX-based RL repository, so treat this as a learning and prototyping resource rather than something to drop into production.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category