Last active
August 17, 2016 13:31
-
-
Save onelittlenightmusic/1a1faef07ac99dafb1093075f6d2c919 to your computer and use it in GitHub Desktop.
Windows上でOpenAI/gymを実行してみる ref: http://qiita.com/onelittlenightmusic/items/11eefde5ddad57fd0727
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gym | |
env = gym.make('CartPole-v0') | |
env.reset() | |
for _ in range(1000): | |
env.render() | |
env.step(env.action_space.sample()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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