Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
/ gym_example Public archive

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

License

Notifications You must be signed in to change notification settings

DerwenAI/gym_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published