in sonic_on_ray/sonic_on_ray.py [0:0]
def __init__(self, env):
"""Warp frames to 84x84 as done in the Nature paper and later work."""
gym.ObservationWrapper.__init__(self, env)
self.width = 80
self.height = 80
self.observation_space = spaces.Box(low=0, high=255,
shape=(self.height, self.width, 1),
dtype=np.uint8)