stable-baselines3/stable_baselines3/common
Quentin Gallouédec 440735cbd0
Fix loading a model with different number of environments (#1058)
* Fix loading with new `n_envs`

* Update tests

* Update changelog

* Fix the fix

* Remove `self._setup_model()` from `set_env()`

* Raise `AssertionError` when setting env with a different `n_envs`

* Update unitests

Co-authored-by: Antonin RAFFIN <antonin.raffin@ensta.org>
2022-09-17 11:10:03 +02:00
..
envs Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
sb2_compat Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
vec_env Fix synchronization bug with EvalCallback (#907) 2022-05-08 21:54:34 +03:00
__init__.py Update docs (custom policy, type hints) (#167) 2020-09-29 20:41:14 +03:00
atari_wrappers.py Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
base_class.py Fix loading a model with different number of environments (#1058) 2022-09-17 11:10:03 +02:00
buffers.py Support for device=auto buffers and set it as default value (#1009) 2022-08-16 17:54:55 +02:00
callbacks.py Clarify and standardize verbosity documentation (#1056) 2022-09-09 16:46:28 +02:00
distributions.py Handling multi-dimensional action spaces (#971) 2022-08-06 14:19:20 +02:00
env_checker.py Raise error when observation keys and observation space keys don't match (#1047) 2022-09-05 14:54:58 +02:00
env_util.py Added wrapper_kwargs argument to make_vec_env (#448) 2021-05-23 11:33:34 +02:00
evaluation.py Fix evaluation script for recurrent policies (#678) 2021-11-30 13:49:06 +01:00
logger.py Support hparams logging to tensorboard (#984) 2022-08-22 22:06:54 +02:00
monitor.py Add append mode to Monitor (#1037) 2022-08-31 11:53:44 +02:00
noise.py Fix exception cause in base_class.py (#940) 2022-06-21 20:58:02 +01:00
off_policy_algorithm.py Clarify and standardize verbosity documentation (#1056) 2022-09-09 16:46:28 +02:00
on_policy_algorithm.py Clarify and standardize verbosity documentation (#1056) 2022-09-09 16:46:28 +02:00
policies.py Remove forward() method from common.policies.BaseModel (#1061) 2022-09-11 18:39:13 +02:00
preprocessing.py Documentation update (#450) 2021-05-23 13:13:11 +02:00
results_plotter.py Fix default arguments + add bugbear (#363) 2021-03-25 11:35:21 +02:00
running_mean_std.py Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
save_util.py Clarify and standardize verbosity documentation (#1056) 2022-09-09 16:46:28 +02:00
torch_layers.py Replace "nature" with "Nature" (magazine) to reduce confusion (#965) 2022-07-15 22:48:27 +02:00
type_aliases.py Fix DictReplayBuffer.next_observations type (#1013) 2022-08-16 10:53:22 +02:00
utils.py Clarify and standardize verbosity documentation (#1056) 2022-09-09 16:46:28 +02:00