I need to the following on macos Big Sur 11.4, python3.9.5, gym==0.18.3 to get frame as an array which is not returned by default for bipedal walker env. import gym env = gym.make('BipedalWalker-v3') state = env.render(mode='rgb_array') ...
import gym env = gym.make('BipedalWalker-v3') state = env.render(mode='rgb_array') This does the job however, I don't want a window popping up because this will be called by pytest so, that window beside requiring a virtual display if the tests are run remotely on some server, is...
import gym env = gym.make("Taxi-v3") env.reset() env.render(mode='rgb_array') yields Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/anaconda3/envs/vid/lib/python3.9/site-packages/gym/core.py", line 286, in render return self.env.render(*...
import gym env = gym.make('BipedalWalker-v3') state = env.render(mode='rgb_array') This does the job however, I don't want a window popping up because this will be called by pytest so, that window beside requiring a virtual display if the tests are run remotely on some server, is...
import gym env = gym.make('BipedalWalker-v3') state = env.render(mode='rgb_array') This does the job however, I don't want a window popping up because this will be called by pytest so, that window beside requiring a virtual display if the tests are run remotely on some server, is...