Code Monkey home page Code Monkey logo

shepherding's Introduction

This is a centralized multi-agent deep Q-network built on PyTorch.

Usage

Operate the model:

  • python run.py -t -r -p
    • -p enter the evaluation mode
    • -t trains the existing model
    • -t -r trains the model from scratch

Tips:

  1. ./Envs folder includes two multi-shepherd environments totally. The multi_agent_Env2.py is built up based on the Strombom Model and velocity matching mechanism was added. The multi_agent_environment.py is built up based on the Reynold Dynamics. Each environment can be used by the model.

  2. Model structure details are defined in the model.py.

  3. Some pretrained model were stored in the ./model folder. And the other model you trained will also be stored in this folder. Remember to change the checkpoint name in the parameters.py!

shepherding's People

Contributors

leonardhym avatar

Watchers

 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.