项目作者: mishig25

项目描述 :
Render OpenAI Gym envs in TensorBoard
高级语言: Jupyter Notebook
项目地址: git://github.com/mishig25/GymBoard.git
创建时间: 2020-05-25T04:18:46Z
项目社区:https://github.com/mishig25/GymBoard

开源协议:MIT License

下载


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

Installation:

  1. pip install git+https://github.com/mishig25/GymBoard

Example usage:

in your python file, call:

  1. import gym
  2. from gymboard import GymBoard
  3. env = gym.make('CartPole-v0')
  4. gboard = GymBoard()
  5. gboard.show()
  6. gboard.write_env(env, step=0)

Checkout the notebook here for more comprehensive example.

License: MIT