Skip to content

Commit 4a85589

Browse files
authored
Update vector_envs_tutorial.py (#1133)
1 parent a576025 commit 4a85589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorials/gymnasium_basics/vector_envs_tutorial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ def update_parameters(
417417
# For our training loop, we are using the `RecordEpisodeStatistics` wrapper to record the episode lengths and returns and we are also saving
418418
# the losses and entropies to plot them after the agent finished training.
419419
#
420-
# You may notice that the don't reset the vectorized envs at the start of each episode like we would usually do.
420+
# You may notice that we don't reset the vectorized envs at the start of each episode like we would usually do.
421421
# This is because each environment resets automatically once the episode finishes (each environment takes a different number of timesteps to finish
422422
# an episode because of the random seeds). As a result, we are also not collecting data in `episodes`, but rather just play a certain number of steps
423423
# (`n_steps_per_update`) in each environment (as an example, this could mean that we play 20 timesteps to finish an episode and then

0 commit comments

Comments
 (0)