Is there anyone can help me?
When I execute these two lines of code (ssh access to ubuntu 14.04 with python 3.5):
env = gym.make('CartPole-v0')
screen = env.render(mode='rgb_array').transpose((2,0,1))
The error of NoSuchDisplayException: Cannot connect to "None" is arisen?
I do not know how to fix it.
Actually, I want get the an numpy array of raw pixels in the the "CartPole-v0" game after every action being taken. How to do to achieve this?