Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 677 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 677 Bytes

RLCoopExp

Installation

Install ray, cma, torch, rllib, pandas, seaborn, numpy and jupyter notebooks.

conda install torch numpy pandas seaborn matplotlib jupyter
pip install dm_tree ray "ray[rllib]" cma

Reproduce simulations

# ppo mlp
python bad_site_prob_explo.py --subdir "ppo-mlp" 1.0 0.5 0.2 0.1

# cma es
python cma_test.py 1.0 0.5 0.2 0.1

# ppo deep
python bad_site_prob_explo.py --num-layers 2 --num-per-layers 256 --subdir "ppo-deep" 1.0 0.5 0.2 0.1

run analysis

python evaluate_at_checkpoint.py

Do graphs

Open jupyter notebooks and generates the graph. You might have to correct paths

jupyter lab