Giter VIP home page Giter VIP logo

offline-madt-tjt's Introduction

MADT: Offline Pre-trained Multi-Agent Decision Transformer

A link to our paper can be found on Arxiv.

Overview

Official codebase for Offline Pre-trained Multi-Agent Decision Transformer. Contains scripts to reproduce experiments.

image info

Instructions

It may be necessary to add the respective directories to your PYTHONPATH.

The offline smac dataset for this repo is available at here, expired.

## password is xvsma7
New download link [here](https://cowtransfer.com/s/3785a6a9e5d044)

How to run experiments

  1. setup python environment with pip install -r requirements.txt
  2. to install StarCraft II & SMAC, you could run bash install_sc2.sh. Or you could install them manually to other path you like, following the official link: https://github.com/oxwhirl/smac.
  3. enter the ./sc2/ folder.
  4. set hyper-parameters in run_madt_sc2.py line 19-49 according to appendix.
  5. select a maps to test in envs/config.py line 142
  6. run the run_madt_sc2.py script
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113^C
pip install -r requirements.txt
pip install pyOpenSSL --upgrade
pip install --upgrade pip

python3 run_madt_sc2.py
python3 run_madt_sc2.py --offline_epochs 1
python3 run_madt_sc2.py --offline_epochs 10

python3 run_rware.py
python3 run_rware.py --eval_episodes 1
python3 run_rware.py --eval_episodes 32

python3 run_robot_warehouse.py

offline-madt-tjt's People

Contributors

reinholdm avatar timityjoe 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.