stable-baselines3/stable_baselines3/common
Antonin RAFFIN ffe26ccf95
Fix render bug for vec env wrappers (#1525)
* Fix render bug for vec env wrappers

* Fix tests and update changelog

* Better fix, backward compatible

* remove render_mode from VecEnv init

* Make DictObsVecEnv inherit from VecEnv

* format

* Fix env_is_wrapped

* try/except getting render mode ( (https://github.com/DLR-RM/stable-baselines3/pull/1525#discussion_r1206888921)

* update version

* Fix env_is_wrapped in test_vec_extract_dict

---------

Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com>
Co-authored-by: Quentin GALLOUÉDEC <gallouedec.quentin@gmail.com>
2023-06-07 16:20:40 +02:00
..
envs Type annotation bundle (logger, vec env, custom envs) (#1479) 2023-05-04 20:27:15 +02:00
sb2_compat Type annotation bundle (logger, vec env, custom envs) (#1479) 2023-05-04 20:27:15 +02:00
vec_env Fix render bug for vec env wrappers (#1525) 2023-06-07 16:20:40 +02:00
__init__.py Update docs (custom policy, type hints) (#167) 2020-09-29 20:41:14 +03:00
atari_wrappers.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
base_class.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
buffers.py Type annotation bundle (logger, vec env, custom envs) (#1479) 2023-05-04 20:27:15 +02:00
callbacks.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
distributions.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
env_checker.py Fix env checker single-step-env edge case (#1524) 2023-05-25 17:12:32 +02:00
env_util.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
evaluation.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
logger.py Fix Colab logger error (#1484) 2023-05-05 14:26:39 +02:00
monitor.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
noise.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
off_policy_algorithm.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
on_policy_algorithm.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
policies.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
preprocessing.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
results_plotter.py Fix Atari Roms download, enable RUF linting (#1379) 2023-03-12 18:47:52 +01:00
running_mean_std.py Fix test_vec_normalize.py, test_tensorboard.py and common/monitor.py type hint (#1194) 2023-01-13 18:28:22 +01:00
save_util.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
torch_layers.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
type_aliases.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
utils.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00