Update for latest gym

This commit is contained in:
Shangtong Zhang
2018-02-09 22:02:58 -07:00
parent e7f036bc6b
commit d4aa8d4a22
6 changed files with 36 additions and 37 deletions
+1
View File
@@ -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':