mirror of
https://github.com/wassname/iris_bigvae.git
synced 2026-09-09 11:24:31 +08:00
fix for newer numpy
This commit is contained in:
@@ -64,7 +64,7 @@ class NoopResetEnv(gym.Wrapper):
|
||||
if self.override_num_noops is not None:
|
||||
noops = self.override_num_noops
|
||||
else:
|
||||
noops = self.unwrapped.np_random.randint(1, self.noop_max + 1)
|
||||
noops = self.unwrapped.np_random.integers(1, self.noop_max + 1)
|
||||
assert noops > 0
|
||||
obs = None
|
||||
for _ in range(noops):
|
||||
|
||||
Reference in New Issue
Block a user