Pytorch Drl

PyTorch implementations of various Deep Reinforcement Learning (DRL) algorithms for both single agent and multi-agent.
Alternatives To Pytorch Drl
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Annotated_deep_learning_paper_implementations36,22316 days ago78September 24, 202227mitJupyter Notebook
🧑‍🏫 60 Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠
Ray27,844802985 hours ago87July 24, 20233,423apache-2.0Python
Ray is a unified framework for scaling AI and Python applications. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.
D2l En18,967
a month ago2November 13, 202295otherPython
Interactive deep learning book with multi-framework code, math, and discussions. Adopted at 500 universities from 70 countries including Stanford, MIT, Harvard, and Cambridge.
Fingpt8,566
a day ago1May 28, 202333mitJupyter Notebook
Data-Centric FinGPT. Open-source for open finance! Revolutionize 🔥 We release the trained model on HuggingFace.
Pytorch Tutorial7,372
6 months ago28mitJupyter Notebook
Build your neural network easy and fast, 莫烦Python中文教学
Wandb7,263394605 hours ago259August 01, 2023995mitPython
🔥 A tool for visualizing and tracking your machine learning experiments. This repo contains the CLI and Python API.
Stable Baselines36,5146011 hours ago74June 14, 202283mitPython
PyTorch version of Stable Baselines, reliable implementations of reinforcement learning algorithms.
Practical_rl5,450
2 days ago40unlicenseJupyter Notebook
A course in reinforcement learning in the wild
Deep Reinforcement Learning4,521
4 months ago2mitJupyter Notebook
Repo for the Deep Reinforcement Learning Nanodegree program
Trlx3,907
8 hours ago72mitPython
A repo for distributed training of language models with Reinforcement Learning via Human Feedback (RLHF)
Alternatives To Pytorch Drl
Select To Compare


Alternative Project Comparisons
Readme

pytorch-madrl

This project includes PyTorch implementations of various Deep Reinforcement Learning algorithms for both single agent and multi-agent.

  • [ ] A2C
  • [ ] ACKTR
  • [ ] DQN
  • [ ] DDPG
  • [ ] PPO

It is written in a modular way to allow for sharing code between different algorithms. In specific, each algorithm is represented as a learning agent with a unified interface including the following components:

  • [ ] interact: interact with the environment to collect experience. Taking one step forward and n steps forward are both supported (see _take_one_step_ and _take_n_steps, respectively)
  • [ ] train: train on a sample batch
  • [ ] exploration_action: choose an action based on state with random noise added for exploration in training
  • [ ] action: choose an action based on state for execution
  • [ ] value: evaluate value for a state-action pair
  • [ ] evaluation: evaluation the learned agent

Requirements

  • gym
  • python 3.6
  • pytorch

Usage

To train a model:

$ python run_a2c.py

Results

It's extremely difficult to reproduce results for Reinforcement Learning algorithms. Due to different settings, e.g., random seed and hyper parameters etc, you might get different results compared with the followings.

A2C

CartPole-v0

ACKTR

CartPole-v0

DDPG

Pendulum-v0

DQN

CartPole-v0

PPO

CartPole-v0

TODO

  • [ ] TRPO
  • [ ] LOLA
  • [ ] Parameter noise

Acknowledgments

This project gets inspirations from the following projects:

License

MIT

Popular Pytorch Projects
Popular Reinforcement Learning Projects
Popular Machine Learning Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Pytorch
Reinforcement Learning
Rl
Dqn
Deep Reinforcement Learning
Ppo
Ddpg
Actor Critic
Deep Q Network
Proximal Policy Optimization