Giter Club home page Giter Club logo

rmmarl's Introduction

Multi-Agent Reinforcement Learning with Reward Machines for Mixed Cooperative-Competitive Environments

Code base for the ICML 2024 submission: Multi-Agent Reinforcement Learning with Reward Machines for Mixed Cooperative-Competitive Environments

Note: This is a restricted version due to file size, licensing, and anonymity considerations. Full data and code will be open-sourced with the paper.

Code structure

  • See folder playground for Pommerman environment.

  • See folder Gymnasium-Robotics for multi-agent Ant environment.

  • See folder PettingZoo for multi-agent Waterworld environment.

  • See folder overcooked_ai for the Overcooked environment.

Installation Instructions for Ubuntu 18.04

Requirements

Atleast

  • python==3.7.11
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6
  • Tkinter
sudo apt-get update
sudo apt-get install python3-tk
  • tensorflow 2
pip install --upgrade pip
pip install tensorflow
  • pandas
pip install pandas
  • matplotlib
pip install matplotlib

Download the files and store them in a separate directory to install packages from the requirements file.

cd playground
pip install -U . 

For more help with the installation, look at the instrctions in Playground.

Now you can just run the respective files mentioned in the above section to run our code.

For the Pursuit domain you also need to install petting zoo library.

Petting Zoo (Waterworld Environment)

Requirements

Atleast

  • Gym (Version 0.18.0)
pip install gym==0.18.0
  • pettingzoo (Version 1.14.0)
cd pettingzoo 
pip install ./

Please install petting zoo using the instruction above and not from source (our files contains some differences from the source files).

Now, you can just run the relevant files mentioned in the above section to run our code.

For installation of Overcooked follow the instructions here, and for the installation of Multi-agent Mujoco follow the instructions here

rmmarl's People

Watchers

Sriram Ganapathi Subramanain 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.