From 281e973173f8bed48182a33c382787cd07c63a47 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Sat, 15 Jun 2019 10:27:52 -0400 Subject: [PATCH] Added README --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..b69aa1f --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +# ZeroMQ interface for OpenAI Gym + +This library adds a ZeroMQ interface for the [OpenAI Gym Project](https://github.com/openai/gym). This implementation runs faster than my previous [HTTP interface](https://github.com/Brandon-Rozek/GymHTTP)! + +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 + +```bash +python gymserver.py port_num +``` + +Then in your main application + +```python +from gymclient import Environment +env = Environment("127.0.0.1", 5000) +``` \ No newline at end of file