Skip to content

Latest commit

 

History

History
executable file
·
34 lines (22 loc) · 902 Bytes

README.md

File metadata and controls

executable file
·
34 lines (22 loc) · 902 Bytes

MADiff only for mpe

Setup MPE

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

Training and Evaluation

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

Acknowledgements

The codebase is built upon madiff repo. Thanks!