All Projects → seungeunrho → Minimalrl

seungeunrho / Minimalrl

Licence: mit
Implementations of basic RL algorithms with minimal lines of codes! (pytorch based)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Minimalrl

Deep-Reinforcement-Learning-With-Python
Master classic RL, deep RL, distributional RL, inverse RL, and more using OpenAI Gym and TensorFlow with extensive Math
Stars: ✭ 222 (-89.18%)
Mutual labels:  deep-reinforcement-learning, dqn, a3c, ddpg, sac, ppo, a2c
Rainy
☔ Deep RL agents with PyTorch☔
Stars: ✭ 39 (-98.1%)
Mutual labels:  deep-reinforcement-learning, dqn, ddpg, sac, ppo, a2c
Deeprl Tensorflow2
🐋 Simple implementations of various popular Deep Reinforcement Learning algorithms using TensorFlow2
Stars: ✭ 319 (-84.45%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, ppo, a3c, ddpg
Reinforcement Learning
Learn Deep Reinforcement Learning in 60 days! Lectures & Code in Python. Reinforcement Learning + Deep Learning
Stars: ✭ 3,329 (+62.31%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, ppo, a2c, policy-gradients
Easy Rl
强化学习中文教程,在线阅读地址:https://datawhalechina.github.io/easy-rl/
Stars: ✭ 3,004 (+46.47%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, ppo, a3c, ddpg
Deep Reinforcement Learning
Repo for the Deep Reinforcement Learning Nanodegree program
Stars: ✭ 4,012 (+95.61%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, ppo, ddpg
Pytorch Drl
PyTorch implementations of various Deep Reinforcement Learning (DRL) algorithms for both single agent and multi-agent.
Stars: ✭ 233 (-88.64%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, ppo, ddpg
Slm Lab
Modular Deep Reinforcement Learning framework in PyTorch. Companion library of the book "Foundations of Deep Reinforcement Learning".
Stars: ✭ 904 (-55.92%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, ppo, a3c
ElegantRL
Scalable and Elastic Deep Reinforcement Learning Using PyTorch. Please star. 🔥
Stars: ✭ 2,074 (+1.12%)
Mutual labels:  dqn, ddpg, sac, ppo, a2c
Machin
Reinforcement learning library(framework) designed for PyTorch, implements DQN, DDPG, A2C, PPO, SAC, MADDPG, A3C, APEX, IMPALA ...
Stars: ✭ 145 (-92.93%)
Mutual labels:  reinforcement-learning, dqn, ppo, a3c, ddpg
Autonomous Learning Library
A PyTorch library for building deep reinforcement learning agents.
Stars: ✭ 425 (-79.28%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, ppo, ddpg
Deeprl
Modularized Implementation of Deep RL Algorithms in PyTorch
Stars: ✭ 2,640 (+28.72%)
Mutual labels:  deep-reinforcement-learning, dqn, ppo, ddpg, a2c
Tianshou
An elegant PyTorch deep reinforcement learning library.
Stars: ✭ 4,109 (+100.34%)
Mutual labels:  dqn, ppo, ddpg, sac, a2c
Deep-Reinforcement-Learning-Notebooks
This Repository contains a series of google colab notebooks which I created to help people dive into deep reinforcement learning.This notebooks contain both theory and implementation of different algorithms.
Stars: ✭ 15 (-99.27%)
Mutual labels:  deep-reinforcement-learning, dqn, a3c, ppo, a2c
Reinforcement Learning With Tensorflow
Simple Reinforcement learning tutorials, 莫烦Python 中文AI教学
Stars: ✭ 6,948 (+238.76%)
Mutual labels:  reinforcement-learning, dqn, ppo, a3c, ddpg
ReinforcementLearningZoo.jl
juliareinforcementlearning.org/
Stars: ✭ 46 (-97.76%)
Mutual labels:  dqn, ddpg, sac, ppo, a2c
Elegantrl
Lightweight, efficient and stable implementations of deep reinforcement learning algorithms using PyTorch.
Stars: ✭ 575 (-71.96%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, ppo, ddpg
Pytorch Rl
This repository contains model-free deep reinforcement learning algorithms implemented in Pytorch
Stars: ✭ 394 (-80.79%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, ddpg
Deep Rl Keras
Keras Implementation of popular Deep RL Algorithms (A3C, DDQN, DDPG, Dueling DDQN)
Stars: ✭ 395 (-80.74%)
Mutual labels:  reinforcement-learning, dqn, a3c, ddpg
Lagom
lagom: A PyTorch infrastructure for rapid prototyping of reinforcement learning algorithms.
Stars: ✭ 364 (-82.25%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, ppo, ddpg

minimalRL-pytorch

Implementations of basic RL algorithms with minimal lines of codes! (PyTorch based)

  • Each algorithm is complete within a single file.

  • Length of each file is up to 100~150 lines of codes.

  • Every algorithm can be trained within 30 seconds, even without GPU.

  • Envs are fixed to "CartPole-v1". You can just focus on the implementations.

Algorithms

  1. REINFORCE (67 lines)
  2. Vanilla Actor-Critic (98 lines)
  3. DQN (112 lines, including replay memory and target network)
  4. PPO (119 lines, including GAE)
  5. DDPG (145 lines, including OU noise and soft target update)
  6. A3C (129 lines)
  7. ACER (149 lines)
  8. A2C (188 lines)
  9. SAC (171 lines) added!!
  10. PPO-Continuous (161 lines) added!!
  11. Vtrace (137 lines) added!!
  12. Any suggestion ...?

Dependencies

  1. PyTorch
  2. OpenAI GYM

Usage

# Works only with Python 3.
# e.g.
python3 REINFORCE.py
python3 actor_critic.py
python3 dqn.py
python3 ppo.py
python3 ddpg.py
python3 a3c.py
python3 a2c.py
python3 acer.py
python3 sac.py
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].