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
- Host: GitHub
- URL: https://github.com/yunfanjiang/drl-rws
- Owner: yunfanjiang
- Created: 2021-10-01T17:29:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-22T06:40:12.000Z (over 3 years ago)
- Last Synced: 2025-01-13T21:26:51.528Z (5 months ago)
- Topics: deep-learning, deep-reinforcement-learning, deepmind-lab, melting-pot, multi-agent-reinforcement-learning, pomdp
- Language: Python
- Homepage:
- Size: 9.6 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`