mirror of
https://github.com/wassname/DeepRL.git
synced 2026-09-11 11:53:01 +08:00
Update for latest gym
This commit is contained in:
@@ -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