DerwenAI / gym_example

An example implementation of an OpenAI Gym environment used for a Ray RLlib tutorial

Home Page:https://anyscale.com/academy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gym_example

Example implementation of an OpenAI Gym environment, to illustrate problem representation for RLlib use cases.

Usage

Clone the repo and connect into its top level directory.

To initialize and run the gym example:

pip install -r requirements.txt
pip install -e gym-example

python sample.py

To run Ray RLlib to train a policy based on this environment:

python train.py

Kudos

h/t:

About

An example implementation of an OpenAI Gym environment used for a Ray RLlib tutorial

https://anyscale.com/academy

License:MIT License


Languages

Language:Python 60.0%Language:Jupyter Notebook 40.0%