All Projects → MushroomRL → Mushroom Rl

MushroomRL / Mushroom Rl

Licence: mit
Python library for Reinforcement Learning.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Mushroom Rl

Pytorch Rl
This repository contains model-free deep reinforcement learning algorithms implemented in Pytorch
Stars: ✭ 394 (-10.86%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, openai-gym, ddpg, mujoco
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 (-49.77%)
Mutual labels:  deep-reinforcement-learning, openai-gym, dqn, ddpg, trpo
Tianshou
An elegant PyTorch deep reinforcement learning library.
Stars: ✭ 4,109 (+829.64%)
Mutual labels:  dqn, ddpg, mujoco, rl, trpo
Torchrl
Pytorch Implementation of Reinforcement Learning Algorithms ( Soft Actor Critic(SAC)/ DDPG / TD3 /DQN / A2C/ PPO / TRPO)
Stars: ✭ 90 (-79.64%)
Mutual labels:  reinforcement-learning, dqn, ddpg, mujoco, trpo
Pytorch Drl
PyTorch implementations of various Deep Reinforcement Learning (DRL) algorithms for both single agent and multi-agent.
Stars: ✭ 233 (-47.29%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, rl, ddpg
Deeprl Tensorflow2
🐋 Simple implementations of various popular Deep Reinforcement Learning algorithms using TensorFlow2
Stars: ✭ 319 (-27.83%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, ddpg, trpo
Deep Reinforcement Learning
Repo for the Deep Reinforcement Learning Nanodegree program
Stars: ✭ 4,012 (+807.69%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, openai-gym, ddpg
Drq
DrQ: Data regularized Q
Stars: ✭ 268 (-39.37%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, rl, mujoco
Ros2learn
ROS 2 enabled Machine Learning algorithms
Stars: ✭ 119 (-73.08%)
Mutual labels:  reinforcement-learning, dqn, rl, trpo
Autonomous Learning Library
A PyTorch library for building deep reinforcement learning agents.
Stars: ✭ 425 (-3.85%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, ddpg
Lagom
lagom: A PyTorch infrastructure for rapid prototyping of reinforcement learning algorithms.
Stars: ✭ 364 (-17.65%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, ddpg, mujoco
Minimalrl
Implementations of basic RL algorithms with minimal lines of codes! (pytorch based)
Stars: ✭ 2,051 (+364.03%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, ddpg
Reinforcement Learning Algorithms
This repository contains most of pytorch implementation based classic deep reinforcement learning algorithms, including - DQN, DDQN, Dueling Network, DDPG, SAC, A2C, PPO, TRPO. (More algorithms are still in progress)
Stars: ✭ 426 (-3.62%)
Mutual labels:  deep-reinforcement-learning, dqn, ddpg, trpo
Easy Rl
强化学习中文教程,在线阅读地址:https://datawhalechina.github.io/easy-rl/
Stars: ✭ 3,004 (+579.64%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, ddpg
Reinforcement Learning
🤖 Implements of Reinforcement Learning algorithms.
Stars: ✭ 104 (-76.47%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, ddpg
Openaigym
Solving OpenAI Gym problems.
Stars: ✭ 98 (-77.83%)
Mutual labels:  reinforcement-learning, dqn, openai-gym, ddpg
Coach
Reinforcement Learning Coach by Intel AI Lab enables easy experimentation with state of the art Reinforcement Learning algorithms
Stars: ✭ 2,085 (+371.72%)
Mutual labels:  reinforcement-learning, openai-gym, rl, mujoco
Hands On Reinforcement Learning With Python
Master Reinforcement and Deep Reinforcement Learning using OpenAI Gym and TensorFlow
Stars: ✭ 640 (+44.8%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, openai-gym, trpo
Pytorch Rl
Deep Reinforcement Learning with pytorch & visdom
Stars: ✭ 745 (+68.55%)
Mutual labels:  reinforcement-learning, deep-reinforcement-learning, dqn, trpo
Tensorflow Rl
Implementations of deep RL papers and random experimentation
Stars: ✭ 176 (-60.18%)
Mutual labels:  reinforcement-learning, dqn, openai-gym, trpo

MushroomRL


.. image:: https://travis-ci.com/MushroomRL/mushroom-rl.svg?branch=dev :target: https://travis-ci.com/MushroomRL/mushroom-rl

.. image:: https://readthedocs.org/projects/mushroomrl/badge/?version=latest :target: https://mushroomrl.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

.. image:: https://api.codeclimate.com/v1/badges/3b0e7167358a661ed882/maintainability :target: https://codeclimate.com/github/MushroomRL/mushroom-rl/maintainability :alt: Maintainability

.. image:: https://api.codeclimate.com/v1/badges/3b0e7167358a661ed882/test_coverage :target: https://codeclimate.com/github/MushroomRL/mushroom-rl/test_coverage :alt: Test Coverage

MushroomRL: Reinforcement Learning Python library.

.. contents:: Contents of this document: :depth: 2

What is MushroomRL

MushroomRL is a Python Reinforcement Learning (RL) library whose modularity allows to easily use well-known Python libraries for tensor computation (e.g. PyTorch, Tensorflow) and RL benchmarks (e.g. OpenAI Gym, PyBullet, Deepmind Control Suite). It allows to perform RL experiments in a simple way providing classical RL algorithms (e.g. Q-Learning, SARSA, FQI), and deep RL algorithms (e.g. DQN, DDPG, SAC, TD3, TRPO, PPO).

Full documentation and tutorials available here <http://mushroomrl.readthedocs.io/en/latest/>_.

Installation

You can do a minimal installation of MushroomRL with:

.. code:: shell

pip3 install mushroom_rl

Installing everything

To install the whole set of features, you will need additional packages installed. You can install everything by running:

.. code:: shell

pip3 install mushroom_rl[all]

This will install every dependency of MushroomRL, except MuJoCo and Plots dependencies. For ubuntu>20.04, you may need to install pygame and gym dependencies:

.. code:: shell

sudo apt -y install libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev \
                 libsdl1.2-dev libsmpeg-dev libportmidi-dev ffmpeg libswscale-dev \
                 libavformat-dev libavcodec-dev swig

To use the mujoco-py MushroomRL interface you can run the command:

.. code:: shell

pip3 install mushroom_rl[mujoco]

Below is the code that you need to run to install the Plots dependencies:

.. code:: shell

sudo apt -y install python3-pyqt5
pip3 install mushroom_rl[plots]

You might need to install external dependencies first. For more information about mujoco-py installation follow the instructions on the project page <https://github.com/openai/mujoco-py>_

To use dm_control MushroomRL interface, install dm_control following the instruction that can be found here <https://github.com/deepmind/dm_control>_

Editable Installation

You can also perform a local editable installation by using:

.. code:: shell

pip install --no-use-pep517 -e .

To install also optional dependencies:

.. code:: shell

pip install --no-use-pep517 -e .[all]

How to set and run and experiment

To run experiments, MushroomRL requires a script file that provides the necessary information for the experiment. Follow the scripts in the "examples" folder to have an idea of how an experiment can be run.

For instance, to run a quick experiment with one of the provided example scripts, run:

.. code:: shell

python3 examples/car_on_hill_fqi.py

Cite Mushroom

If you are using mushroom for your scientific publications, please cite:

.. code:: bibtex

@misc{deramo2020mushroomrl, title={MushroomRL: Simplifying Reinforcement Learning Research}, author={D'Eramo, Carlo and Tateo, Davide and Bonarini, Andrea and Restelli, Marcello and Peters, Jan}, journal={arXiv preprint arXiv:2001.01102}, year={2020}, howpublished={\url{https://github.com/MushroomRL/mushroom-rl}} }

How to contact us

For any question, drop an e-mail at [email protected].

Follow us on Twitter @Mushroom_RL <https://twitter.com/mushroom_rl>_!

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].