Skip to content

Brandon-Rozek/GymHTTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP interface for OpenAI Gym

This library adds a HTTP interface for the OpenAI Gym Project. Hopefully you will be able to use it in your reinforcement learning projects without noticing!

Why would I want to do this? If you want to decouple the processing of the environment from the training of your models this might be beneficial.

To start the webserver

export FLASK_APP=gymserver.py
flask run

In your main application

from gymclient import Environment
env = Environment("127.0.0.1", 5000)

About

Provides a HTTP API for OpenAI Gym

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published