Skip to content

Commit

Permalink
Merge pull request #145 from ssccinng/patch-1
Browse files Browse the repository at this point in the history
[fix] 括号不匹配
  • Loading branch information
qiwang067 authored Mar 19, 2024
2 parents 62152c6 + 5577979 commit bd25553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/chapter3/project1.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ agent = QLearning(
state_dim=env.observation_space.n,
action_dim=env.action_space.n,
learning_rate=cfg.policy_lr,
gamma=cfg.gamma,
gamma=cfg.gamma,)
rewards = []
ma_rewards = [] # moving average reward
for i_ep in range(cfg.train_eps): # train_eps: 训练的最大episodes数
Expand Down

0 comments on commit bd25553

Please sign in to comment.