资源算法mushroom

mushroom

2019-10-09 | |  79 |   0 |   0

Mushroom

https://travis-ci.org/AIRLab-POLIMI/mushroom.svg?branch=master Maintainability Test Coverage

Mushroom: Reinforcement Learning python library.

Contents of this document:

What is Mushroom

Mushroom 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 benchmark (e.g. OpenAI Gym, PyBullet). It allows to perform RL experiments in a simple way providing online TD (e.g. Q-Learning, SARSA), batch TD (e.g. FQI) algorithms, deep RL algorithms (e.g. DQN and DDPG), and several policy-search algorithms (e.g. REINFORCE, REPS).

Full documentation available at http://mushroomrl.readthedocs.io/en/latest/.

Installation

You can do a minimal installation of Mushroom with:

git clone https://github.com/AIRLab-POLIMI/mushroom.gitcd mushroom
pip3 install -e .

Installing everything

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

pip3 install -e '.[all]'

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

pip3 install -e '.[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 mushroom interface, install dm_control following the instruction that can be found here

How to set and run and experiment

To run experiments, Mushroom 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


上一篇:delira

下一篇:Xlearn

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...