MCPcopy Create free account
hub / github.com/rlcode/reinforcement-learning / __init__

Method __init__

3-atari/env.py:38–41  ·  view source on GitHub ↗
(self, env)

Source from the content-addressed store, hash-verified

36# frames on noop_max + FIRE and breaking long-horizon credit assignment.
37class LifeLossTerminalEnv(gym.Wrapper):
38 def __init__(self, env):
39 super().__init__(env)
40 self.lives = 0
41 self.game_over = True
42
43 def step(self, action):
44 obs, reward, terminated, truncated, info = self.env.step(action)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected