← 开源

A pytorch implementation of MADDPG (multi-agent deep deterministic policy gradient)

Model DevelopmentArchitecturePython
增长势头
+024 小时新增 Star0.0%
692
Star
126
Fork
+0
本周
1
贡献者
创建于 2017-07-25 · 更新于 2026-10-09 · 今日第 19030 名
主要开发者
xuehy
README

An implementation of MADDPG

1. Introduction

This is a pytorch implementation of multi-agent deep deterministic policy gradient algorithm.

The experimental environment is a modified version of Waterworld based on MADRL.

2. Environment

The main features (different from MADRL) of the modified Waterworld environment are:

  • evaders and poisons now bounce at the wall obeying physical rules
  • sizes of the evaders, pursuers and poisons are now the same so that random actions will lead to average rewards around 0.
  • need exactly n_coop agents to catch food.

3. Dependency

  • pytorch
  • visdom
  • python==3.6.1 (recommend using the anaconda/miniconda)
  • if you need to render the environments, opencv is required

4. Install

  • Install MADRL.
  • Replace the madrl_environments/pursuit directory with the one in this repo.
  • python main.py

if scene rendering is enabled, recommend to install opencv through conda-forge.

5. Results

two agents, cooperation = 2

The two agents need to cooperate to achieve the food for reward 10.

the average

one agent, cooperation = 1

6. TODO

  • reproduce the experiments in the paper with competitive environments.
排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载