stable-baselines3/tests
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
..
__init__.py Init: TD3 2019-09-05 17:29:41 +02:00
test_buffers.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
test_callbacks.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_cnn.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_custom_policy.py Removed shared layers in mlp_extractor (#1292) 2023-01-23 14:55:19 +01:00
test_deterministic.py Add the argument dtype (default to float32) to the noise (#1301) 2023-02-07 13:42:14 +01:00
test_dict_env.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_distributions.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_env_checker.py Fix env checker single-step-env edge case (#1524) 2023-05-25 17:12:32 +02:00
test_envs.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
test_gae.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_her.py Fix wrong truncation in HER replay buffer (#1543) 2023-06-07 15:57:12 +02:00
test_identity.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_logger.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
test_monitor.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_predict.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
test_preprocessing.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_run.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_save_load.py Fix DQN target update interval for multi-env (#1463) 2023-04-27 18:35:33 +02:00
test_sde.py Remove deprecated features and attributes (#1104) 2022-10-11 10:55:16 +02:00
test_spaces.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
test_tensorboard.py Fix test_vec_normalize.py, test_tensorboard.py and common/monitor.py type hint (#1194) 2023-01-13 18:28:22 +01:00
test_train_eval_mode.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_utils.py Type annotation bundle (logger, vec env, custom envs) (#1479) 2023-05-04 20:27:15 +02:00
test_vec_check_nan.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
test_vec_envs.py Fix render bug for vec env wrappers (#1525) 2023-06-07 16:20:40 +02:00
test_vec_extract_dict_obs.py Fix render bug for vec env wrappers (#1525) 2023-06-07 16:20:40 +02:00
test_vec_monitor.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_vec_normalize.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_vec_stacked_obs.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00