1 Star 0 Fork 0

Jill/pytorch-maddpg

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
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.

PNG/demo.gif

PNG/3.png

the average

PNG/4.png

one agent, cooperation = 1

PNG/newplot.png

6. TODO

  • reproduce the experiments in the paper with competitive environments.

空文件

简介

暂无描述 展开 收起
Python
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lxqbupt/pytorch-maddpg.git
git@gitee.com:lxqbupt/pytorch-maddpg.git
lxqbupt
pytorch-maddpg
pytorch-maddpg
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385