stable-baselines3/tests
Max Weltevrede ef10189d80
Prohibit simultaneous use of optimize_memory_usage and handle_timeout_termination (#948)
* Prohibit simultaneous use of optimize_memory_buffer and handle_timeout_termination

* Modify test to avoid unsupported buffer configuration

* Change from assertion to raising of ValueError

* Update changelog

* Update style for consistency

* Use handle_timeout_termination when possible

Co-authored-by: Anssi <kaneran21@hotmail.com>
Co-authored-by: Antonin Raffin <antonin.raffin@ensta.org>
2022-07-04 15:08:54 +02:00
..
__init__.py Init: TD3 2019-09-05 17:29:41 +02:00
test_buffers.py Fix normalization for DictReplayBuffer (#744) 2022-02-23 13:04:57 +01:00
test_callbacks.py Callback to early stop the training if there is no model improvement after consecutive evaluations (#741) 2022-02-25 11:56:47 +01:00
test_cnn.py Add skip option for VecTransposeImage and bug fix in frame stack (#700) 2021-12-23 17:12:49 +02:00
test_custom_policy.py Gym fixes - Follow up from #705 (#734) 2022-02-04 15:13:57 -08:00
test_deterministic.py Gym fixes - Follow up from #705 (#734) 2022-02-04 15:13:57 -08:00
test_dict_env.py Multiprocessing support for off policy algorithms (#439) 2021-12-01 22:30:09 +01:00
test_distributions.py Gym fixes - Follow up from #705 (#734) 2022-02-04 15:13:57 -08:00
test_env_checker.py Gym fixes - Follow up from #705 (#734) 2022-02-04 15:13:57 -08:00
test_envs.py Update doc and add check for unbounded action space (#918) 2022-05-25 16:24:21 +02:00
test_gae.py Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
test_her.py Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
test_identity.py Add timeout handling for on-policy algorithms (#658) 2021-11-16 17:19:16 +01:00
test_logger.py HumanOutputFormat: make length configurable, throw error if keys alias (#756) 2022-02-05 12:57:35 +02:00
test_monitor.py Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
test_predict.py Gym fixes - Follow up from #705 (#734) 2022-02-04 15:13:57 -08:00
test_run.py Allow PPO to turn off advantage normalization (#763) 2022-02-22 15:29:21 +01:00
test_save_load.py Prohibit simultaneous use of optimize_memory_usage and handle_timeout_termination (#948) 2022-07-04 15:08:54 +02:00
test_sde.py Gym fixes - Follow up from #705 (#734) 2022-02-04 15:13:57 -08:00
test_spaces.py Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
test_tensorboard.py Escape tensorboard log name (#857) 2022-04-11 21:49:18 +02:00
test_train_eval_mode.py Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
test_utils.py Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
test_vec_check_nan.py Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
test_vec_envs.py Fixed unchecked None value in SubprocVecEnv (#808) 2022-04-12 16:05:40 +02:00
test_vec_extract_dict_obs.py Support for VecMonitor for gym3-style environments (#311) 2021-04-13 18:09:31 +02:00
test_vec_monitor.py Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
test_vec_normalize.py Fix synchronization bug with EvalCallback (#907) 2022-05-08 21:54:34 +03:00