mirror of
https://github.com/wassname/DeepRL.git
synced 2026-09-10 11:40:58 +08:00
Expose original Atari game reward
This commit is contained in:
+1
-2
@@ -70,8 +70,7 @@ class PixelAtari(BasicTask):
|
||||
env = MaxAndSkipEnv(env, skip=frame_skip)
|
||||
if 'FIRE' in env.unwrapped.get_action_meanings():
|
||||
env = FireResetEnv(env)
|
||||
env = ProcessFrame(env, frame_size)
|
||||
self.env = ClippedRewardsWrapper(env)
|
||||
self.env = ProcessFrame(env, frame_size)
|
||||
self.action_dim = self.env.action_space.n
|
||||
|
||||
def normalize_state(self, state):
|
||||
|
||||
Reference in New Issue
Block a user