GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sisl/MADRL: Repo containing code for multi-agent deep reinforcement learning (MADRL).

BranchesTags
Open more actions menu

Latest commit

 

History

482 Commits
482 Commits

Folders and files

NameName
Last commit message
Last commit date
heuristics
heuristics
 
 
lessons
lessons
 
 
madrl_environments
madrl_environments
 
 
maps
maps
 
 
pipelines
pipelines
 
 
rllab @ c9cc397
rllab @ c9cc397
 
 
rllabwrapper
rllabwrapper
 
 
rltools @ c2fbcd3
rltools @ c2fbcd3
 
 
runners
runners
 
 
vis
vis
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.style.yapf
.style.yapf
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
fabfile.py
fabfile.py
 
 
pursuit_policy.py
pursuit_policy.py
 
 
sample_spec.yaml
sample_spec.yaml
 
 

Repository files navigation

MADRL

Note: A maintained version of two of these environments with various fixes is included with PettingZoo (https://github.com/Farama-Foundation/PettingZoo), https://pettingzoo.farama.org/environments/sisl/)

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

  • Pursuit Evastion
  • Waterworld
  • Multi-Agent Walker
  • Multi-Ant

Requirements

This package requires both OpenAI Gym and a forked version of rllab (the multiagent branch). There are a number of other requirements which can be found in rllab/environment.yml file if using anaconda distribution.

Setup

The easiest way to install MADRL and its dependencies is to perform a recursive clone of this repository.

git clone --recursive [email protected]:sisl/MADRL.git

Then, 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.

Citation

Please cite the accompanied paper, if you find this useful:

@inproceedings{gupta2017cooperative,
  title={Cooperative multi-agent control using deep reinforcement learning},
  author={Gupta, Jayesh K and Egorov, Maxim and Kochenderfer, Mykel},
  booktitle={International Conference on Autonomous Agents and Multiagent Systems},
  pages={66--83},
  year={2017},
  organization={Springer}
}

About

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

Resources

Readme
MIT license
Activity
Custom properties

Stars

756 stars

Watchers

19 watching

Forks

125 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.