Skip to content

Commit

Permalink
[ci skip] Doc fix (loading trained model)
Browse files Browse the repository at this point in the history
  • Loading branch information
araffin committed Sep 22, 2018
1 parent 9af2eee commit 07df3b3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/modules/a2c.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Train a A2C agent on `CartPole-v1` using 4 processes.
del model # remove to demonstrate saving and loading
A2C.load("a2c_cartpole")
model = A2C.load("a2c_cartpole")
obs = env.reset()
while True:
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/acer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Example
del model # remove to demonstrate saving and loading
ACER.load("acer_cartpole")
model = ACER.load("acer_cartpole")
obs = env.reset()
while True:
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/acktr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Example
del model # remove to demonstrate saving and loading
ACKTR.load("acktr_cartpole")
model = ACKTR.load("acktr_cartpole")
obs = env.reset()
while True:
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ddpg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Example
del model # remove to demonstrate saving and loading
DDPG.load("ddpg_mountain")
model = DDPG.load("ddpg_mountain")
obs = env.reset()
while True:
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/dqn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Example
del model # remove to demonstrate saving and loading
DQN.load("deepq_cartpole")
model = DQN.load("deepq_cartpole")
obs = env.reset()
while True:
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ppo2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Train a PPO agent on `CartPole-v1` using 4 processes.
del model # remove to demonstrate saving and loading
PPO2.load("ppo2_cartpole")
model = PPO2.load("ppo2_cartpole")
# Enjoy trained agent
obs = env.reset()
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/trpo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Example
del model # remove to demonstrate saving and loading
TRPO.load("trpo_cartpole")
model = TRPO.load("trpo_cartpole")
obs = env.reset()
while True:
Expand Down

0 comments on commit 07df3b3

Please sign in to comment.