Skip to content

Instantly share code, notes, and snippets.

View icyblade's full-sized avatar

Yuchao Dai icyblade

View GitHub Profile
@icyblade
icyblade / frozenlake-v0.py
Created January 9, 2017 08:00
Solution of FrozenLake-v0 using Q table
#! coding: utf8
import os
import gym
import numpy as np
from gym import wrappers
env = gym.make('FrozenLake-v0')
os.system('rm -rf /tmp/frozenlake_v0_q_table')
env = wrappers.Monitor(env, '/tmp/frozenlake_v0_q_table')