def __init__(self, env):
    'Make end-of-life == end-of-episode, but only reset on true game over.\n        Done by DeepMind for the DQN and co. since it helps value estimation.\n        '
    gym.Wrapper.__init__(self, env)
    self.lives = 0
    self.was_real_done = True
Make end-of-life == end-of-episode, but only reset on true game over.
Done by DeepMind for the DQN and co. since it helps value estimation.
def __init__(self, env):
    'Make end-of-life == end-of-episode, but only reset on true game over.\n        Done by DeepMind for the DQN and co. since it helps value estimation.\n        '
    gym.Wrapper.__init__(self, env)
    self.lives = 0
    self.was_real_done = True