ZeroMQ interface for OpenAI gym
Find a file
2020-03-29 14:37:24 -04:00
examples Added IPC option 2019-06-18 22:28:25 -04:00
gymclient.py Added IPC option 2019-06-18 22:28:25 -04:00
gymserver.py Added IPC option 2019-06-18 22:28:25 -04:00
LICENSE Create LICENSE 2020-03-29 14:37:24 -04:00
README.md Added README 2019-06-15 10:27:52 -04:00
start_servers.sh Added IPC option 2019-06-18 22:28:25 -04:00

ZeroMQ interface for OpenAI Gym

This library adds a ZeroMQ interface for the OpenAI Gym Project. This implementation runs faster than my previous HTTP interface!

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

python gymserver.py port_num

Then in your main application

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