Giter Site home page Giter Site logo

marl_demo's Introduction

demo of MARL algorithms

This codebase is a reimplementation of some MARL algorithms.
We did not tune the hyperparameters, and your are welcomed to do this for better performance.

code structure

D_* represent the code related to Discrete action space.
C_* represent the code related to Continuous action space.

C/D_env_* represent the Environment, which takes action as input and returns the (r, s', d, info).
Please do not change the C/D_env_* files (if you want to make a fair comparison).

C/D_models represent the Agent.
You can modify this file to define your Agent with different DNN-structures or different optimization methods/losses.

C/D_settings represent the parameter settings.
You can modify this file to tune the parameters for better performance.

C/D_main is the main file to run the code.

run the code

You can run IDQN Agent in navigation3v3 Environment by:

python D_main.py --agent-name IDQN --env-name navigation3v3.  
python C_main.py --agent-name MADDPG --env-name routing6v4.  

please cite the following papers

  1. Neighborhood Cognition Consistent Multi-Agent Reinforcement Learning, AAAI-2020.
  2. Modelling the dynamic joint policy of teammates with attention multi-agent DDPG, AAMAS-2019.
  3. Multi-agent actor-critic for mixed cooperative-competitive environments, NIPS-2017.
  4. Graph convolutional reinforcement learning for multi-agent cooperation, ICLR-2020.
  5. Qmix: Monotonic value function factorisation for deep multi-agent reinforcement learning, ICML-2018.
  6. Value-decomposition networks for cooperative multi-agent learning based on team reward, AAMAS-2018.

marl_demo's People

Contributors

zhangmingcheng28 avatar maohangyu avatar

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.