PyTorch Implementation of MADDPG and DDPG in a Multi-Agent Predator-Prey(MAPP) environment.
Install Python environment with conda:
conda create -n pp_env python=3.10 -y
conda activate pp_env
pip install -r requirements.txtExecute the following command to train the agents: (MADDPG for Predators and DDPG for Prey)
wandb login
python training_MADDPG.pyProvide your wandb API key when prompted. (Get one from https://wandb.com)
Our full-trained MADDPG models are saved in the ./MADDPG_DDPG_models directory.
Execute the following command to evaluate the performances of agents:
python evaluation.pyThe gifs of MADDPG models in the evaluation will be saved in the ./MADDPG_gifs directory.
| Environment Name | Training Results |
|---|---|
| MAPP | ![]() |
| Training Algorithm | Evaluation Results |
|---|---|
| DDPG-DDPG | ![]() |
| MADDPG-DDPG | ![]() |


