fix docs atari example by import ale_py (#2071)

* fix docs atari example by import ale_py

* Update changelog

---------

Co-authored-by: Antonin Raffin <antonin.raffin@dlr.de>
This commit is contained in:
Yufeng Gao 2025-01-21 04:53:42 -05:00 committed by GitHub
parent b7c64a1aa4
commit d055a2e2af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -376,6 +376,8 @@ and multiprocessing for you. To install the Atari environments, run the command
from stable_baselines3.common.vec_env import VecFrameStack
from stable_baselines3 import A2C
import ale_py
# There already exists an environment generator
# that will make and wrap atari environments correctly.
# Here we are also multi-worker training (n_envs=4 => 4 environments)

View file

@ -41,6 +41,7 @@ Documentation:
- Added link to policies for ``policy_kwargs`` parameter (@kplers)
- Add FootstepNet Envs to the project page (@cgaspard3333)
- Added FRASA to the project page (@MarcDcls)
- Fixed atari example (@chrisgao99)
Release 2.4.1 (2024-12-20)
--------------------------
@ -1749,4 +1750,4 @@ And all the contributors:
@DavyMorgan @luizapozzobon @Bonifatius94 @theSquaredError @harveybellini @DavyMorgan @FieteO @jonasreiher @npit @WeberSamuel @troiganto
@lutogniew @lbergmann1 @lukashass @BertrandDecoster @pseudo-rnd-thoughts @stefanbschneider @kyle-he @PatrickHelm @corentinlger
@marekm4 @stagoverflow @rushitnshah @markscsmith @NickLucche @cschindlbeck @peteole @jak3122 @will-maclean
@brn-dev @jmacglashan @kplers @MarcDcls
@brn-dev @jmacglashan @kplers @MarcDcls @chrisgao99