Skip to content

dbobrenko/reinforceflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReinforceFlow

Build Status

A framework for training and evaluating Reinforcement Learning (RL) algorithms. Built with Python, TensorFlow framework and OpenAI Gym interface.

🚧 Currently under heavy development and some of its components may suffer from instability issues.

Installation

  1. git clone https://github.com/dbobrenko/reinforceflow.git

  2. cd reinforceflow

  3. pip install -e .[tf-gpu]

    In case if you have no CUDA device available, use CPU-only TensorFlow:

    pip install -e .[tf]

  4. To get examples working, install Gym by following the instructions at OpenAI Gym repo;

  5. (Optional) For more environments, you can install OpenAI Universe;

Usage

Examples can be found in examples directory:

# To train A3C on Breakout, see:
python examples/a3c/breakout.py

# To train Async DeepQ on Pong, see:
python examples/asyncdeepq/pong.py

# To train DQN on CartPole:
python examples/dqn/cartpole.py

# etc.

Constantly evolving tasks list:

Related projects:

Releases

No releases published

Packages

No packages published

Languages