Error occurred while running `from pyglet.gl import *` 해결하기
in get_screen() 12 # Returned screen requested by gym is 400x600x3, but is sometimes larger 13 # such as 800x1200x3. Transpose it into torch order (CHW). ---> 14 screen = env.render(mode='rgb_array').transpose((2, 0, 1)) 15 # Cart is in the lower half, so strip off the top and bottom of the screen 16 _, screen_height, screen_width = screen.shape /opt/conda/lib/python3.8/site-packages/gym/envs/cl..
2021.09.08