Added README
This commit is contained in:
parent
85fb332ced
commit
281e973173
1 changed files with 20 additions and 0 deletions
20
README.md
Normal file
20
README.md
Normal file
|
@ -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)
|
||||
```
|
Loading…
Reference in a new issue