Skip to content
This repository was archived by the owner on Oct 20, 2019. It is now read-only.

Repository files navigation

baselines-experiments

Infra setup to run reinforcement learning baselines in a cloud deployment.

Steps

  1. Create GCP instances to run the experiments
bash ./scripts/gcp-create-instances.sh
  1. Set up ansible inventory file. Example for GCP below
plugin: gcp_computeprojects:
- projectnameauth_kind: serviceaccountgroups:
rl: truefilters:
- 'labels.algo = ppo'
- any filters you may wantservice_account_file: /home/yourdir/gcp/serviceaccount.json
  1. Install ansible galaxy roles
ansible-galaxy install geerlingguy.docker geerlingguy.pip
  1. Change ansible vault file to contain proper MongoDB login information for your database

  2. Set up experiment environment on all machines

bash ./scripts/ansible-full-setup.sh
  1. Start running the experiments
bash ./scripts/ansible-run-experiments.sh

About

Infra setup to run reinforcement learning baselines in a cloud deployment.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages