Skip to content

Commit

Permalink
Fix bugs in the a3c code template. (#4984)
Browse files Browse the repository at this point in the history
  • Loading branch information
TianhongDai authored and ericl committed Jun 15, 2019
1 parent 37abdb2 commit 1b86e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/example-a3c.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1b86e55

Please sign in to comment.