GithubHelp home page GithubHelp logo

soccer-twos-working_exteneded's Introduction

CS 175: Group 5 Sample Dropout and Variance Reduction in Multi-Agent Environments

(back to top)

Getting Started

These are the steps needed to install and run the training. This may vary from system to system and may need extra installations, terminals, or virtual environments to achieve the best results.

Soccer-Twos Installation

On a Python 3.6+ environment, run:

pip install soccer-twos

MPE Installation

Using CUDA == 10.1. For non-GPU & other CUDA version installation, please refer to the PyTorch website.

# create conda environment
conda create -n marl python==3.6.1
conda activate marl
pip install torch==1.5.1+cu101 torchvision==0.6.1+cu101 -f https://download.pytorch.org/whl/torch_stable.html
# install on-policy package
cd on-policy
pip install -e .

The provided requirement.txt may have redundancy so install each version as necessary for example:

''' pip install python==1.10.0 '''

# install this package first
pip install seaborn

Soccer-Twos Training

Run the run_soccer_twos_main.py found under soccer-twos-working\mappo-competitive-reinforcement\run_soccer_twos_main.py

Modify the sd_delta, use_sd, use_PSRO elements as needed

MPE Train

Here we use train_mpe.sh as an example:

cd onpolicy/scripts
chmod +x ./train_mpe.sh
./train_mpe.sh

Local results are stored in subfold scripts/results. Change the .sh file as needed to run the right training.

(back to top)

Contact

Edward Chang Nathan Monette Einar Gatchalian

Project Link: https://github.com/eddie100971/soccer-twos-working

(back to top)

Acknowledgments

Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!

(back to top)

soccer-twos-working_exteneded's People

Contributors

eddie100971 avatar egatchal avatar nmonette 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.