Skip to content
/ MAG Public

Code accompanying paper "Models as Agents: Optimizing Multi-Step Predictions of Interactive Local Models in Model-Based Multi-Agent Reinforcement Learning".

Notifications You must be signed in to change notification settings

ZifanWu/MAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAG

This code accompanies the paper "Models as Agents: Optimizing Multi-Step Predictions of Interactive Local Models in Model-Based Multi-Agent Reinforcement Learning".

The repository contains MAG implementation as well as fine-tuned hyperparameters in configs/dreamer/optimal folder.

Usage

python3 train.py --n_workers 2 --starcraft

Optimal parameters

The optimal parameters are contained in configs/dreamer/optimal/ folder.

SMAC

starcraft

The code for the environment can be found at https://github.com/oxwhirl/smac

Code Structure

  • agent contains implementation of MAG
    • controllers contains logic for inference
    • learners contains logic for learning the agent
    • memory contains buffer implementation
    • models contains architecture of MAG
    • optim contains logic for optimizing loss functions
    • runners contains logic for running multiple workers
    • utils contains helper functions
    • workers contains logic for interacting with environment
  • env contains environment logic
  • networks contains neural network architectures

About

Code accompanying paper "Models as Agents: Optimizing Multi-Step Predictions of Interactive Local Models in Model-Based Multi-Agent Reinforcement Learning".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages