Skip to content
forked from sisl/MADRL

Repo containing code for multi-agent deep reinforcement learning (MADRL).

Notifications You must be signed in to change notification settings

zeyuan1987/MADRL

 
 

Repository files navigation

MADRL

This package provides implementations of the following multi-agent reinforcement learning environemnts:

Setup

Clone this repository.

git clone --recursive git@github.com:sisl/MADRL.git

Add directories to PYTHONPATH

export PYTHONPATH=$(pwd):$(pwd)/rltools:$(pwd)/rllab:$PYTHONPATH

Install the required dependencies. Good idea is to look into rllab/environment.yml file if using anaconda distribution.

Usage

Example run with curriculum:

python3 runners/run_multiwalker.py rllab \ # Use rllab for training
    --control decentralized \ # Decentralized training protocol
    --policy_hidden 100,50,25 \ # Set MLP policy hidden layer sizes
    --n_iter 200 \ # Number of iterations
    --n_walkers 2 \ # Starting number of walkers
    --batch_size 24000 \ # Number of rollout waypoints
    --curriculum lessons/multiwalker/env.yaml

Details

Policy definitions exist in rllab/sandbox/rocky/tf/policies.

About

Repo containing code for multi-agent deep reinforcement learning (MADRL).

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.6%
  • Shell 0.4%