GithubHelp home page GithubHelp logo

bdvllrs / marl-patrolling-agents Goto Github PK

View Code? Open in Web Editor NEW
37.0 3.0 16.0 26.79 MB

Project on multi agent reinforcement learning applied on patrolling agents

License: MIT License

Python 100.00%
patrolling-agents reinforcement-learning multi-agent-reinforcement-learning maddpg dqn

marl-patrolling-agents's Introduction

MARL for patrolling agents

We provide here an environment for a predator/prey game. We explore two methods: a simple DQN architecture as well as a true Multi-Agent algorithm architecture using a Policy Gradient approach: Multi-Agent Deep Deterministic Policy Gradient (Lowe, R., Wu, Y., Tamar, A., Harb, J., Abbeel, O. P., & Mordatch, I. (2017). Multi-agent actor-critic for mixed cooperative-competitive environments. In Advances in Neural Information Processing Systems (pp. 6379-6390)).

Some results

After 1400 episodes of training.

DDQN 2vs2 MADDPG 2vs2 DDQN 2v1 Magic Switch

Environment

Blue dots represent preys and orange dots are predators.

Action space

The action space is discrete. Every agent can do one of none, left, right, top, bottom.

State space

The state is perfectly known by all the agents.

The state is the 3D coordinates (x, y, z) for every agent.

marl-patrolling-agents's People

Contributors

bdvllrs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

marl-patrolling-agents's Issues

How to run the test agent?

Hi, I tested the agent under the test folder but I have error saying :

RuntimeError: size mismatch, m1: [128 x 4], m2: [72 x 512]
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.