A toolkit for developing and comparing reinforcement learning algorithms.
34.77k
stars
8.61k
forks
source link
I was writing the given code in colab. But the following error prompted:- NameError: name 'base' is not defined. My Pyglet version is 1.5.0 #1981
Closed
Samar-080301 closed 3 years ago
`import gym
env = gym.make("MountainCar-v0") env.reset()
done = False while not done: action = 2 # always go right! newstate, reward, done, = env.step(action) env.render() env.close() `