stable-baselines3/stable_baselines3/common/vec_env
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
..
__init__.py Refactor observation stacking (#1238) 2023-02-06 22:41:59 +01:00
base_vec_env.py Standardize the use of from gym import spaces (#1240) 2023-01-02 14:51:11 +01:00
dummy_vec_env.py Raise error when same env object instance is passed in vectorized environment (#1154) 2022-11-22 14:28:58 +01:00
stacked_observations.py Refactor observation stacking (#1238) 2023-02-06 22:41:59 +01:00
subproc_vec_env.py Standardize the use of from gym import spaces (#1240) 2023-01-02 14:51:11 +01:00
util.py Standardize the use of from gym import spaces (#1240) 2023-01-02 14:51:11 +01:00
vec_check_nan.py Fix `stable_baselines3/common/vec_env/vec_check_nan.py` type hints (#1226) 2022-12-22 12:24:59 +01:00
vec_extract_dict_obs.py Support for VecMonitor for gym3-style environments (#311) 2021-04-13 18:09:31 +02:00
vec_frame_stack.py Refactor observation stacking (#1238) 2023-02-06 22:41:59 +01:00
vec_monitor.py Fixed logging info_keywords in the VecMonitor class. (#730) 2022-01-19 17:17:22 +01:00
vec_normalize.py Standardize the use of from gym import spaces (#1240) 2023-01-02 14:51:11 +01:00
vec_transpose.py Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
vec_video_recorder.py Upgrade black formatting (#1310) 2023-02-02 11:58:41 +01:00