Coder Social home page Coder Social logo

mushroom-rl's Introduction

MushroomRL

https://travis-ci.org/MushroomRL/mushroom-rl.svg?branch=master Documentation Status Maintainability Test Coverage

MushroomRL: Reinforcement Learning Python library.

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 available here.

Installation

You can do a minimal installation of MushroomRL with:

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:

pip3 install mushroom_rl '.[all]'

This will install every dependency of MushroomRL, except MuJoCo dependencies. To use the mujoco-py MushroomRL interface you can run the command:

pip3 install mushroom_rl '.[mujoco]'

You might need to install external dependencies first. For more information about mujoco-py installation follow the instructions on the project page

To use dm_control MushroomRL interface, install dm_control following the instruction that can be found here

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:

python3 examples/car_on_hill_fqi.py

mushroom-rl's People

Contributors

boris-il-forte avatar carloderamo avatar idilsuerdenlig avatar manuelpalermo avatar samuelepolimi avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.