mirror of
https://github.com/wassname/DeepRL.git
synced 2026-10-29 12:40:58 +08:00
Finalize async methods
This commit is contained in:
1 parent
9c73abfbff
commit
8ea108e4bb
6 files changed
+76
-111
No files matched your search
+1
-1
@@ -134,7 +134,7 @@ class ProcessFrame(gym.Wrapper):
|
||||
elif frame_size == 42:
|
||||
self.process_fn = _process_frame42
|
||||
else:
|
||||
assert(False, "Unknown frame size")
|
||||
assert False, "Unknown frame size"
|
||||
|
||||
def _step(self, action):
|
||||
obs, reward, done, info = self.env.step(action)
|
||||
|
||||
Reference in new issue
Block a user