stable-baselines3/stable_baselines3/common
Quentin Gallouédec 2e4a45020e
Refactor observation stacking (#1238)
* refactor stacking obs

* Improve docstring

* remove all StackedDictObservations

* Update tests and make stacked obs clearer

* Fix type check

* fix stacked_observation_space

* undo init change, deprecate StackedDictObservations

* deprecate stack_observation_space

* type hints

* ignore pytype errors

* undo vecenv doc change

* Deprecation warning in StackedDictObs doctstring

* Fix vec_env.rst

* Fix __all__ sorting

* fix pytype ignore statement

* Update docstring

* stack

* Remove n_stack

* Update changelog

* Simplify code

* Rename test file

* Re-use variable for shift

* Fix doc build

* Remove pytype comment

* Disable pytype error

---------

Co-authored-by: Antonin RAFFIN <antonin.raffin@ensta.org>
2023-02-06 22:41:59 +01:00
..
envs Downgrade sphinx-autodoc-typehints (#1291) 2023-01-23 10:56:45 +01:00
sb2_compat Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
vec_env Refactor observation stacking (#1238) 2023-02-06 22:41:59 +01:00
__init__.py Update docs (custom policy, type hints) (#167) 2020-09-29 20:41:14 +03:00
atari_wrappers.py Add sticky actions for Atari games (#1286) 2023-01-26 10:32:58 +01:00
base_class.py Removed shared layers in mlp_extractor (#1292) 2023-01-23 14:55:19 +01:00
buffers.py Upgrade black formatting (#1310) 2023-02-02 11:58:41 +01:00
callbacks.py Upgrade black formatting (#1310) 2023-02-02 11:58:41 +01:00
distributions.py Standardize the use of from gym import spaces (#1240) 2023-01-02 14:51:11 +01:00
env_checker.py Standardize the use of from gym import spaces (#1240) 2023-01-02 14:51:11 +01:00
env_util.py Fix stable_baselines3/common/env_util.py type hint (#1192) 2022-11-29 15:36:55 +01:00
evaluation.py Upgrade black formatting (#1310) 2023-02-02 11:58:41 +01:00
logger.py Upgrade black formatting (#1310) 2023-02-02 11:58:41 +01:00
monitor.py Fix test_vec_normalize.py, test_tensorboard.py and common/monitor.py type hint (#1194) 2023-01-13 18:28:22 +01:00
noise.py Drop gym.GoalEnv and other minor changes initally from #780 (#1184) 2022-11-28 18:22:31 +01:00
off_policy_algorithm.py Upgrade black formatting (#1310) 2023-02-02 11:58:41 +01:00
on_policy_algorithm.py Upgrade black formatting (#1310) 2023-02-02 11:58:41 +01:00
policies.py Upgrade black formatting (#1310) 2023-02-02 11:58:41 +01:00
preprocessing.py Fix support of image like normalized inputs (#1214) 2022-12-20 13:18:28 +01:00
results_plotter.py Upgrade black formatting (#1310) 2023-02-02 11:58:41 +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 Upgrade black formatting (#1310) 2023-02-02 11:58:41 +01:00
torch_layers.py Removed shared layers in mlp_extractor (#1292) 2023-01-23 14:55:19 +01:00
type_aliases.py Fix stable_baselines3/common/type_aliases.py type hint (#1189) 2022-11-29 12:26:16 +01:00
utils.py Fix test_vec_normalize.py, test_tensorboard.py and common/monitor.py type hint (#1194) 2023-01-13 18:28:22 +01:00