Coder Social home page Coder Social logo

cqn2219076254 / marl-dmfb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jesselasse/marl-dmfb

0.0 0.0 0.0 20.65 MB

A cooperative multi-agent reinforcement learning framework for droplet routing for droplet routing in DMFB

Python 100.00%

marl-dmfb's Introduction

MARL-DMFB

A cooperative multi-agent reinforcement learning framework for droplet routing for droplet routing in DMFB

Train model

python train.py dmfb --drop_num=4 --fov=9

the training data will be saved in "data-dmfb/TrainResult/vdn/fov9/10by10-4d0b/"

the trained model will be saved in "data-dmfb/model/vdn/fov9/4d0b/

Evaluate model in health mode

python evaluate.py dmfb --drop_num=4 --chip_size=20 --evaluate_task=100 --show

This will evaluate the performance of the model: "data-dmfb/model/vdn/fov9/4d0b/rnn_net_params.pkl" and "data-dmfb/model/vdn/fov9/4d0b/vdn_net_params.pkl"

Evaluate model with electrodes degrade

python evaDegre.py dmfb --evaluate_task = 20 --fov=9 --drop_num=4

This will evaluate the performance of the model: "data-dmfb/model/vdn/fov9/4d0b/rnn_net_params.pkl" and "data-dmfb/model/vdn/fov9/4d0b/vdn_net_params.pkl"

The data will be saved in "data-dmfb/DgreData/10by10-4d0b"

For MEDA

just change 'dmfb' to 'meda' in the commands: i.e., training command is python train.py meda --drop_num=4

Then all data are saved under fold "data-meda/"

Parameters

You can find more usages or change the parameters of the algorithm in the file "common/arguments.py"

marl-dmfb's People

Contributors

jesselasse avatar cqn2219076254 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.