Skip to content

Commit

Permalink
Update quickstart argument name (#994)
Browse files Browse the repository at this point in the history
Noticed an improper argument name when going through the quickstart.
  • Loading branch information
mturnshek authored Nov 23, 2023
1 parent 3a1bc18 commit 31fa032
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ Setup policy and collectors:
policy = ts.policy.DQNPolicy(
model=net,
optim=optim,
gamma=gamma,
action_space=env.action_space,
estimate_space=n_step,
discount_factor=gamma,
action_space=env.action_space,
estimation_step=n_step,
target_update_freq=target_freq
)
train_collector = ts.data.Collector(policy, train_envs, ts.data.VectorReplayBuffer(buffer_size, train_num), exploration_noise=True)
Expand Down

0 comments on commit 31fa032

Please sign in to comment.