Skip to content

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

Notifications You must be signed in to change notification settings

yunfanjiang/drl-rws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drl-rws

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

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-token>@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