from gym_minigrid.wrappers import *
env = gym.make('MiniGrid-GoToDoor-6x6-v0')
env = RGBImgObsWrapper(env) # Get pixel observations
obs = env.reset() # This now produces an RGB tensor only
a1 = env.render('rgb_array')
plt.imshow(a1)
However, it is returning a partial observable view only. Is it possible to get the whole observation ?
!pip install gym-minigrid
from gym_minigrid.wrappers import * env = gym.make('MiniGrid-GoToDoor-6x6-v0') env = RGBImgObsWrapper(env) # Get pixel observations obs = env.reset() # This now produces an RGB tensor only a1 = env.render('rgb_array') plt.imshow(a1)
However, it is returning a partial observable view only. Is it possible to get the whole observation ?