From 3c31f215ab990753036b443210cb75af7a618383 Mon Sep 17 00:00:00 2001 From: Tianhong Dai Date: Fri, 14 Jun 2019 21:13:42 +0800 Subject: [PATCH] fix bugs in the a3c code template. --- doc/source/example-a3c.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/example-a3c.rst b/doc/source/example-a3c.rst index 3037b2b6b132..f8a8bfb4c1f3 100644 --- a/doc/source/example-a3c.rst +++ b/doc/source/example-a3c.rst @@ -127,7 +127,7 @@ global model parameters. The main training script looks like the following. obs = 0 # Start simulations on actors - agents = [Runner(env_name, i) for i in range(num_workers)] + agents = [Runner.remote(env_name, i) for i in range(num_workers)] # Start gradient calculation tasks on each actor parameters = policy.get_weights()