Skip to content

Commit d055a2e

Browse files
chrisgao99araffin
andauthored
fix docs atari example by import ale_py (#2071)
* fix docs atari example by import ale_py * Update changelog --------- Co-authored-by: Antonin Raffin <[email protected]>
1 parent b7c64a1 commit d055a2e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Diff for: docs/guide/examples.rst

+2
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,8 @@ and multiprocessing for you. To install the Atari environments, run the command
376376
from stable_baselines3.common.vec_env import VecFrameStack
377377
from stable_baselines3 import A2C
378378
379+
import ale_py
380+
379381
# There already exists an environment generator
380382
# that will make and wrap atari environments correctly.
381383
# Here we are also multi-worker training (n_envs=4 => 4 environments)

Diff for: docs/misc/changelog.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Documentation:
4141
- Added link to policies for ``policy_kwargs`` parameter (@kplers)
4242
- Add FootstepNet Envs to the project page (@cgaspard3333)
4343
- Added FRASA to the project page (@MarcDcls)
44+
- Fixed atari example (@chrisgao99)
4445

4546
Release 2.4.1 (2024-12-20)
4647
--------------------------
@@ -1749,4 +1750,4 @@ And all the contributors:
17491750
@DavyMorgan @luizapozzobon @Bonifatius94 @theSquaredError @harveybellini @DavyMorgan @FieteO @jonasreiher @npit @WeberSamuel @troiganto
17501751
@lutogniew @lbergmann1 @lukashass @BertrandDecoster @pseudo-rnd-thoughts @stefanbschneider @kyle-he @PatrickHelm @corentinlger
17511752
@marekm4 @stagoverflow @rushitnshah @markscsmith @NickLucche @cschindlbeck @peteole @jak3122 @will-maclean
1752-
@brn-dev @jmacglashan @kplers @MarcDcls
1753+
@brn-dev @jmacglashan @kplers @MarcDcls @chrisgao99

0 commit comments

Comments
 (0)