Git Product home page Git Product logo

ma2cl's Introduction

Installation

common dependences

pip install torch wandb hydra-core kornia pysc2 gfootball mujoco mujoco-py \
    scikit-image scikit-learn scikit-video \
    tensorboard tensorboardX pandas seaborn matplotlib opencv-python==4.5.5.64

An alternative way is to use the provided dockerfile to build docker, and before building docker image, you need to download mujoco210-linux-x86_64.tar.gz, SC2.4.10.zip and SMAC_Maps.zip in docker folder

Multi-Agent Quadcopter Control

Folling the instrctions in https://github.com/utiasDSL/gym-pybullet-drones to setup the environment. Note that MAQC need gym==0.21.0

Multi-agent MuJoCo

Following the instructios in https://github.com/openai/mujoco-py and https://github.com/schroederdewitt/multiagent_mujoco to setup a mujoco environment. In the end, remember to set the following environment variables:

LD_LIBRARY_PATH=${HOME}/.mujoco/mujoco200/bin;
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so

StarCraft II & SMAC

Run the script

bash install_sc2.sh

Or you could install them manually to other path you like, just follow here: https://github.com/oxwhirl/smac.

How to run

When your environment is ready, you could run train.py provided configs. For example:

python train.py --config-path ./configs/<algo_name>/<env_name> --config-name <scenario> 

Please check the configs folder to varify current supported envs, algos and scenarios.

If you would like to change the configs of experiments, you could modify yaml files or directly modify it in cmd. For more details, please read hydra's doc.

ma2cl's People

Contributors

song-hl avatar

Stargazers

HZH 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.