ZeroMQ interface for OpenAI gym
examples | ||
gymclient.py | ||
gymserver.py | ||
LICENSE | ||
README.md | ||
start_servers.sh |
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)