mirror of
https://github.com/wassname/DeepRL.git
synced 2026-10-29 12:40:58 +08:00
Update for latest gym
This commit is contained in:
1 parent
e7f036bc6b
commit
d4aa8d4a22
6 files changed
+36
-37
No files matched your search
@@ -127,6 +127,7 @@ class Roboschool(BasicTask):
|
||||
def sub_task(parent_pipe, pipe, task_fn):
|
||||
parent_pipe.close()
|
||||
task = task_fn()
|
||||
task.env.seed(np.random.randint(0, sys.maxsize))
|
||||
while True:
|
||||
op, data = pipe.recv()
|
||||
if op == 'step':
|
||||
|
||||
Reference in new issue
Block a user