We collect the MPE dataset from my MADDPG codebase
The collected dataset should be placed under diffuser/datasets/data/mpe
.
Install MPE environment:
pip install -e third_party/multiagent-particle-envs
pip install -e third_party/ddpg-agent
To start training, run the following commands
# multi-agent particle environment
python run_experiment.py -e exp_specs/mpe/<task>/mad_mpe_<task>_attn_<dataset>.yaml # CTCE
python run_experiment.py -e exp_specs/mpe/<task>/mad_mpe_<task>_ctde_<dataset>.yaml # CTDE
To evaluate the trained model, first replace the log_dir
with those need to be evaluated in exp_specs/eval_inv.yaml
and run
python run_experiment.py -e exp_specs/eval_inv.yaml
The codebase is built upon madiff repo. Thanks!