Giter VIP home page Giter VIP logo

diadem's Introduction

Diadem = Deep interactive decision making

Diadem is a python library for development and training of interaction-aware decision making algorithms based on tensorflow<2.0. The focus is on combinations of Deep Reinforcement Learning with classical AI techniques, such as MCTS. Currently, the training and evaluation framework and DQN variants (prioritized experience replay, Learning from Demonstrations (DQfD), C51, Quantile Regression DQN) are implemented. With the environment wrapper class, the library allows integration of different environments, standard benchmarks such as OpenAI Gym but also bark, focusing on interactive decision making in multi-agent scenarios.

diadem Architecture Overview

Prerequisites

  • Bazel (requires Java)
  • Python3
  • virtualenv

Installation on Ubuntu

  1. Clone the repository and change to base repository directory
  2. bash scripts/setup_venv.sh: this will create a virtual python environment (located in ./venv) and install all necessary python dependencies.
  3. source scripts/into_venv.sh: this will activate the virtual environment (keep this in mind for the future: each time you use Bazel, even beyond this installation, be sure to have run this command beforehand)
  4. bazel test //...: this will run all specified tests. All tests should pass successfully. (individual tests can be executed e.g. with bazel test //examples:dqn_basic
  5. For online rendering of the environment use the run mode, e.g for the GymCartpole environment and DQN use bazel run //examples:dqn_basic

Examples

The examples folder shows how to run the DQN variants with the OpenAIGym environment wrapper. The configuration files extend from the common configuration by importing the base property from the common parameters file. This allows for a simplistic parameter definition for specific use cases based on a common parameter set avoiding parameter repetitions.

diadem's People

Stargazers

 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.