Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mishig25/gymboard

Render OpenAI Gym envs in TensorBoard
https://github.com/mishig25/gymboard

gym tensorboard tensorflow2

Last synced: 19 days ago
JSON representation

Render OpenAI Gym envs in TensorBoard

Awesome Lists containing this project

README

        

# GymBoard - A small wrapper class that lets you render OpenAI Gym envs (as GIFs) in TensorBoard's Images tab

### Installation:
```bash
pip install git+https://github.com/mishig25/GymBoard
```

### Example usage:
in your python file, call:
```python
import gym
from gymboard import GymBoard

env = gym.make('CartPole-v0')

gboard = GymBoard()
gboard.show()
gboard.write_env(env, step=0)
```

Checkout the notebook [here](https://github.com/mishig25/GymBoard/blob/master/tutorial.ipynb) for more comprehensive example.

License: MIT