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

This commit is contained in:
Tianhong Dai
2019-06-15 08:22:36 +08:00
committed by Eric Liang
parent 37abdb283f
commit 1b86e551fb
+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()