An open API service indexing awesome lists of open source software.

https://github.com/yunfanjiang/drl-rws

CS 238 Final Project: Deep Reinforcement Learning Agents that Run with Scissors
https://github.com/yunfanjiang/drl-rws

deep-learning deep-reinforcement-learning deepmind-lab melting-pot multi-agent-reinforcement-learning pomdp

Last synced: 4 months ago
JSON representation

CS 238 Final Project: Deep Reinforcement Learning Agents that Run with Scissors

Awesome Lists containing this project

README

        

# drl-rws
CS 238 Final Project: Deep Reinforcement Learning Agents that Run with Scissors [[Report](https://web.stanford.edu/class/aa228/cgi-bin/wp/old-projects/#:~:text=Deep%20Reinforcement%20Learning%20Agents%20that%20Run%20with%20Scissors)]

## Setup
Install dependencies

`git clone https://github.com/yunfanjiang/meltingpot && cd meltingpot`

`pip install -e .`

Install this repo as develop mode

`git clone https://github.com/yunfanjiang/cs238-rps && cd cs238-rps`

`pip install -e .`

## Examples
### Random Agent
`python examples/random_rps.py`

### Simple PPO
`python examples/simple_ppo.py`

## Example colab setup

### Get customized meltingpot repo:
`!git clone https://github.com/yunfanjiang/meltingpot`

`%cd meltingpot/`

`pip install -e .`

### Get our RPS repo and install dependencies:
`!git clone https://@github.com/yunfanjiang/cs238-rps.git`

`%cd ../cs238-rps/`

`pip install -e .`

`pip install pip/*`

`pip install -r requirements.txt`

### Example PPO Training
`!python examples/simple_ppo.py`