Skip to content

Instantly share code, notes, and snippets.

@onelittlenightmusic
Last active August 17, 2016 13:31
Show Gist options
  • Save onelittlenightmusic/1a1faef07ac99dafb1093075f6d2c919 to your computer and use it in GitHub Desktop.
Save onelittlenightmusic/1a1faef07ac99dafb1093075f6d2c919 to your computer and use it in GitHub Desktop.
Windows上でOpenAI/gymを実行してみる ref: http://qiita.com/onelittlenightmusic/items/11eefde5ddad57fd0727
import gym
env = gym.make('CartPole-v0')
env.reset()
for _ in range(1000):
env.render()
env.step(env.action_space.sample())
sudo apt-get install x11-apps
xeyes&
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment