Update quickstart argument name (#994)
Noticed an improper argument name when going through the quickstart.
This commit is contained in:
parent
3a1bc18add
commit
31fa0325fa
@ -240,9 +240,9 @@ Setup policy and collectors:
|
|||||||
policy = ts.policy.DQNPolicy(
|
policy = ts.policy.DQNPolicy(
|
||||||
model=net,
|
model=net,
|
||||||
optim=optim,
|
optim=optim,
|
||||||
gamma=gamma,
|
discount_factor=gamma,
|
||||||
action_space=env.action_space,
|
action_space=env.action_space,
|
||||||
estimate_space=n_step,
|
estimation_step=n_step,
|
||||||
target_update_freq=target_freq
|
target_update_freq=target_freq
|
||||||
)
|
)
|
||||||
train_collector = ts.data.Collector(policy, train_envs, ts.data.VectorReplayBuffer(buffer_size, train_num), exploration_noise=True)
|
train_collector = ts.data.Collector(policy, train_envs, ts.data.VectorReplayBuffer(buffer_size, train_num), exploration_noise=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user