Finalize async methods

This commit is contained in:
Shangtong Zhang
2017-06-10 21:08:40 -06:00
parent 9c73abfbff
commit 8ea108e4bb
6 changed files with 76 additions and 111 deletions
+1 -1
View File
@@ -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)