diff --git a/README.md b/README.md index 346f970..d758759 100644 --- a/README.md +++ b/README.md @@ -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)