You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnnp.asarray(image.getdata(), dtype=np.uint8).reshape(image.size[1], image.size[0]) #TODO: possibly memory heavy
61
+
returnnp.asarray(image.getdata(), dtype=np.uint8).reshape(image.size[1], image.size[0]) #TODO: possibly memory heavy, we should pass regular lists here
62
+
63
+
# class WarpFrame(gym.ObservationWrapper):
64
+
# def __init__(self, env):
65
+
# """Warp frames to 84x84 as done in the Nature paper and later work."""
0 commit comments