[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Code for paper "Value-Distributional Model-Based Reinforcement Learning"

License

Notifications You must be signed in to change notification settings

boschresearch/dist-mbrl

Repository files navigation

Value-Distributional Model-Based Reinforcement Learning

Official PyTorch implementation of the paper "Value-Distributional Model-Based Reinforcement Learning".

Installation

Prerequisites:

  • conda (optional, install for Option #1 below)
  • docker (optional, install for Option #2 below)

Option #1: conda environment

  1. Clone the repository and cd into it
git clone https://github.com/boschresearch/dist-mbrl.git && cd dist-mbrl
  1. Create a conda environment
conda env create --file=environment.yml
  1. Activate the environment and install the package + dependencies
conda activate dist_mbrl
pip install -e .

Option #2: Docker container.

Make sure docker is installed and configured.

  1. Build docker image
cd docker/
./build_docker.sh
  1. After the image is created, you can access it via
docker run --rm -ti dist-mbrl

Usage

Running experiments

The entry point for training is train.py. At the bottom of the file, you can modify the configuration passed on to the training script. The agent configurations are generated in default.py and the model learning configurations are stored in this YAML file.

cd {path_to_repo}/dist_mbrl
python train/train.py

Reproducing paper plots

All the plots shown in the paper can be reproduced by running the provided Jupyter notebooks.

Citation

@article{luis2023value,
  title={Value-Distributional Model-Based Reinforcement Learning},
  author={Luis, Carlos E and Bottero, Alessandro G and Vinogradska, Julia and Berkenkamp, Felix and Peters, Jan},
  journal={arXiv preprint arXiv:2308.06590},
  year={2023}
}

License

The code is open-sourced under the AGPL-3.0 license. See the LICENSE file for details.

About

Code for paper "Value-Distributional Model-Based Reinforcement Learning"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published