Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mishig25/gymboard
- Owner: mishig25
- License: mit
- Created: 2020-05-25T04:18:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-10T15:04:50.000Z (over 4 years ago)
- Last Synced: 2024-12-03T15:48:26.912Z (about 1 month ago)
- Topics: gym, tensorboard, tensorflow2
- Language: Jupyter Notebook
- Homepage:
- Size: 3.3 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 GymBoardenv = 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