Skip to content

Commit

Permalink
Fix RecordEpisodeStatistics param in Blackjack Tutorial (one line) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tylercrosse authored Nov 28, 2024
1 parent 13230f4 commit 7e2062d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/training_agents/blackjack_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def decay_epsilon(self):
#


env = gym.wrappers.RecordEpisodeStatistics(env, buffer_length=n_episodes)
env = gym.wrappers.RecordEpisodeStatistics(env, deque_size=n_episodes)
for episode in tqdm(range(n_episodes)):
obs, info = env.reset()
done = False
Expand Down

0 comments on commit 7e2062d

Please sign in to comment.