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.
python3 train.py --n_workers 2 --starcraft
The optimal parameters are contained in configs/dreamer/optimal/
folder.
The code for the environment can be found at https://github.com/oxwhirl/smac
agent
contains implementation of MAGcontrollers
contains logic for inferencelearners
contains logic for learning the agentmemory
contains buffer implementationmodels
contains architecture of MAGoptim
contains logic for optimizing loss functionsrunners
contains logic for running multiple workersutils
contains helper functionsworkers
contains logic for interacting with environment
env
contains environment logicnetworks
contains neural network architectures