Skip to content

implementation of MADDPG using PyTorch and multiagent-particle-envs

Notifications You must be signed in to change notification settings

Git-123-Hub/maddpg-mpe-pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MADDPG using PyTorch and MPE

implementation of MADDPG using PyTorch and multiagent-particle-envs

Usage

training and evaluation is simple and straightforward, take simple_spread for example:

python main.py simple_spread  # training
python evaluate.py simple_spread  # evaluation

more details about arguments can be found in main.py, evaluate.py or simply run python main.py --help, python evaluate.py --help

Result

environment name training result evaluation result
simple_adversary simple_adversary simple_adversary
simple_spread simple_spread simple_spread
simple_tag simple_tag simple_tag

Trouble shooting

  • stop print info while rendering

    comment line 213 in multiagent-particle-envs\multiagent\environment.py

  • ImportError: cannot import name 'prng' from 'gym.spaces'

    after install multiagent-particle-envs, install an older version of gym

    pip uninstall gym
    pip install gym==0.10.5

reference

About

implementation of MADDPG using PyTorch and multiagent-particle-envs

Topics

Resources

Stars

Watchers

Forks

Languages