Fix bugs in the a3c code template. (#4984)

This commit is contained in:
Tianhong Dai authored and Eric Liang committed 2019-06-14 17:22:36 -07:00
1 parent 37abdb283f
commit 1b86e551fb
1 file changed
+1 -1
+1 -1
View File
@@ -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()