This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ================================================================================ | |
# This script runs Multi-Agent Deep Deterministic Policy Gradients (MADDPG) | |
# (Lowe et al., 2017) on the Multi-Agent Particle Environments (MPE) | |
# from PettingZoo (Terry et al., 2020) | |
# ================================================================================ | |
import ray | |
from ray import tune | |
from ray.tune.registry import register_trainable, register_env | |
from ray.rllib.env.wrappers.pettingzoo_env import ParallelPettingZooEnv |