(self, env)
Warp frames to 84x84 as done in the Nature paper and later work.
Warp frames to 84x84 as done in the Nature paper and later work.
Warp frames to 84x84 as done in the Nature paper and later work .
def __init__(self, env):
        """Warp frames to 84x84 as done in the Nature paper and later work."""
        gym.ObservationWrapper.__init__(self, env)
        self.res = 84
        self.observation_space = spaces.Box(low=0, high=255, shape=(self.res, self.res, 1))
def __init__ ( self , env ) : gym . ObservationWrapper . __init__ ( self , env ) self . res = 84 self . observation_space = spaces . Box ( low = 0 , high = 255 , shape = ( self . res , self . res , 1 ) )