Giter VIP home page Giter VIP logo

interpretable_marl's Introduction

Getting Started

  1. Create conda environment: conda create -n interpretable_marl python=3.7

  2. Activate conda environment: conda activate interpretable_marl

  3. Install GPU deps: conda install -c conda-forge cudatoolkit=11.2.2 cudnn=8.1.0 (https://gretel.ai/blog/install-tensorflow-with-cuda-cdnn-and-gpu-support-in-4-easy-steps)

  4. Save library path for gpu deps:

    mkdir -p $CONDA_PREFIX/etc/conda/activate.d
    echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib/' > $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh
    
  5. Close and reopen terminal or SSH and reactivate conda environment if needed

  6. Move into the root project directory: cd interpretable_marl (not interpretable_marl/interpretable_marl)

  7. Clone overcooked_ai: git clone https://github.com/HumanCompatibleAI/overcooked_ai.git (not using git submodules since only one repo, but if we add more, we should use submodules)

  8. Install overcooked : pip install -e overcooked_ai/

  9. Install poetry: pip install poetry

  10. Install the root project with poetry: poetry install

  11. Open & run the notebook tutorial in overcooked to verify the upstream overcooked setup works

Running interpretable MARL

  1. Login to wandb: wandb login
  2. Run python interpretable_marl/run_single.py to verify the interpretable_marl setup works
  3. Edit or run experiments as desired

TODO: Add instructions for editing model, augmenting state in both training and evaluation, running experiments, changing action verbiage, debugging, changing config, etc.

interpretable_marl's People

Contributors

erob123 avatar

Watchers

Siddharth Nayak avatar  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.