2019-09-26 09:46:40 +00:00
.. _changelog:
Changelog
==========
2022-10-10 14:37:11 +00:00
2023-10-09 09:11:36 +00:00
Release 2.2.0a7 (WIP)
2023-08-29 14:04:08 +00:00
--------------------------
Breaking Changes:
^^^^^^^^^^^^^^^^^
2023-09-12 09:28:32 +00:00
- Switched to `` ruff `` for sorting imports (isort is no longer needed), black and ruff version now require a minimum version
2023-08-29 14:04:08 +00:00
New Features:
^^^^^^^^^^^^^
2023-09-24 10:36:52 +00:00
- Improved error message of the `` env_checker `` for env wrongly detected as GoalEnv (`` compute_reward() `` is defined)
2023-09-25 10:39:22 +00:00
- Improved error message when mixing Gym API with VecEnv API (see GH#1694)
2023-09-12 09:28:32 +00:00
2023-08-29 14:04:08 +00:00
Bug Fixes:
^^^^^^^^^^
2023-09-01 15:58:15 +00:00
- Prevents using squash_output and not use_sde in ActorCritcPolicy (@PatrickHelm)
- Performs unscaling of actions in collect_rollout in OnPolicyAlgorithm (@PatrickHelm)
2023-08-30 10:37:14 +00:00
- Moves VectorizedActionNoise into `` _setup_learn() `` in OffPolicyAlgorithm (@PatrickHelm)
- Prevents out of bound error on Windows if no seed is passed (@PatrickHelm)
2023-08-30 15:02:41 +00:00
- Calls `` callback.update_locals() `` before `` callback.on_rollout_end() `` in OnPolicyAlgorithm (@PatrickHelm)
2023-09-12 09:28:32 +00:00
- Fixed replay buffer device after loading in OffPolicyAlgorithm (@PatrickHelm)
- Fixed `` render_mode `` which was not properly loaded when using `` VecNormalize.load() ``
2023-09-16 06:56:04 +00:00
- Fixed success reward dtype in `` SimpleMultiObsEnv `` (@NixGD)
2023-09-24 10:36:52 +00:00
- Fixed check_env for Sequence observation space (@corentinlger)
2023-09-27 08:18:30 +00:00
- Prevents instantiating BitFlippingEnv with conflicting observation spaces (@kylesayrs)
2023-08-29 14:04:08 +00:00
2023-09-24 10:36:52 +00:00
`SB3-Contrib`_
^^^^^^^^^^^^^^
`RL Zoo`_
^^^^^^^^^
`SBX`_
^^^^^^^^^
- Added `` DDPG `` and `` TD3 ``
2023-09-01 15:58:15 +00:00
2023-08-29 14:04:08 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
- Fixed `` stable_baselines3/common/callbacks.py `` type hints
- Fixed `` stable_baselines3/common/utils.py `` type hints
- Fixed `` stable_baselines3/common/vec_envs/vec_transpose.py `` type hints
- Fixed `` stable_baselines3/common/vec_env/vec_video_recorder.py `` type hints
- Fixed `` stable_baselines3/common/save_util.py `` type hints
2023-09-03 10:50:02 +00:00
- Updated docker images to Ubuntu Jammy using micromamba 1.5
2023-09-28 16:52:46 +00:00
- Fixed `` stable_baselines3/common/buffers.py `` type hints
- Fixed `` stable_baselines3/her/her_replay_buffer.py `` type hints
- Buffers do no call an additional `` .copy() `` when storing new transitions
2023-10-09 09:11:36 +00:00
- Fixed `` ActorCriticPolicy.extract_features() `` signature by adding an optional `` features_extractor `` argument
2023-09-01 15:58:15 +00:00
2023-08-29 14:04:08 +00:00
Documentation:
^^^^^^^^^^^^^^
2023-08-17 19:17:46 +00:00
Release 2.1.0 (2023-08-17)
2023-07-03 10:44:18 +00:00
--------------------------
2023-08-17 19:17:46 +00:00
**Float64 actions , Gymnasium 0.29 support and bug fixes**
2023-07-03 10:44:18 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
- Removed Python 3.7 support
- SB3 now requires PyTorch >= 1.13
New Features:
^^^^^^^^^^^^^
- Added Python 3.11 support
2023-07-18 12:22:22 +00:00
- Added Gymnasium 0.29 support (@pseudo-rnd-thoughts)
2023-07-03 10:44:18 +00:00
`SB3-Contrib`_
^^^^^^^^^^^^^^
2023-08-17 19:17:46 +00:00
- Fixed MaskablePPO ignoring `` stats_window_size `` argument
- Added Python 3.11 support
2023-07-03 10:44:18 +00:00
`RL Zoo`_
^^^^^^^^^
2023-08-17 19:17:46 +00:00
- Upgraded to Huggingface-SB3 >= 2.3
- Added Python 3.11 support
2023-07-03 10:44:18 +00:00
Bug Fixes:
^^^^^^^^^^
2023-07-21 05:02:38 +00:00
- Relaxed check in logger, that was causing issue on Windows with colorama
2023-07-24 14:38:03 +00:00
- Fixed off-policy algorithms with continuous float64 actions (see #1145) (@tobirohrer)
2023-08-17 19:17:46 +00:00
- Fixed `` env_checker.py `` warning messages for out of bounds in complex observation spaces (@Gabo-Tor)
2023-07-03 10:44:18 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
- Updated GitHub issue templates
- Fix typo in gym patch error message (@lukashass)
2023-07-24 14:38:03 +00:00
- Refactor `` test_spaces.py `` tests
2023-07-03 10:44:18 +00:00
Documentation:
^^^^^^^^^^^^^^
2023-07-18 11:02:47 +00:00
- Fixed callback example (@BertrandDecoster)
2023-08-01 11:20:29 +00:00
- Fixed policy network example (@kyle-he)
2023-07-21 14:33:01 +00:00
- Added mobile-env as new community project (@stefanbschneider)
2023-08-05 16:12:08 +00:00
- Added [DeepNetSlice](https://github.com/AlexPasqua/DeepNetSlice) to community projects (@AlexPasqua)
2023-07-03 10:44:18 +00:00
2023-06-23 10:21:58 +00:00
Release 2.0.0 (2023-06-22)
2023-04-11 16:00:33 +00:00
--------------------------
2023-04-14 11:13:59 +00:00
**Gymnasium support**
.. warning ::
Stable-Baselines3 (SB3) v2.0 will be the last one supporting python 3.7 (end of life in June 2023).
We highly recommended you to upgrade to Python >= 3.8.
2023-04-11 16:00:33 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
2023-04-14 11:13:59 +00:00
- Switched to Gymnasium as primary backend, Gym 0.21 and 0.26 are still supported via the `` shimmy `` package (@carlosluis, @arjun-kg, @tlpss)
- The deprecated `` online_sampling `` argument of `` HerReplayBuffer `` was removed
- Removed deprecated `` stack_observation_space `` method of `` StackedObservations ``
2023-04-11 16:00:33 +00:00
- Renamed environment output observations in `` evaluate_policy `` to prevent shadowing the input observations during callbacks (@npit)
2023-04-14 11:13:59 +00:00
- Upgraded wrappers and custom environment to Gymnasium
2023-05-05 12:26:39 +00:00
- Refined the `` HumanOutputFormat `` file check: now it verifies if the object is an instance of `` io.TextIOBase `` instead of only checking for the presence of a `` write `` method.
2023-05-20 08:30:54 +00:00
- Because of new Gym API (0.26+), the random seed passed to `` vec_env.seed(seed=seed) `` will only be effective after then `` env.reset() `` call.
2023-04-11 16:00:33 +00:00
New Features:
^^^^^^^^^^^^^
2023-06-23 10:21:58 +00:00
- Added Gymnasium support (Gym 0.21 and 0.26 are supported via the `` shimmy `` package)
2023-04-14 11:13:59 +00:00
2023-04-11 16:00:33 +00:00
`SB3-Contrib`_
^^^^^^^^^^^^^^
2023-06-23 10:21:58 +00:00
- Fixed QRDQN update interval for multi envs
2023-04-11 16:00:33 +00:00
`RL Zoo`_
^^^^^^^^^
2023-06-23 10:21:58 +00:00
- Gym 0.26+ patches to continue working with pybullet and TimeLimit wrapper
- Renamed `CarRacing-v1` to `CarRacing-v2` in hyperparameters
- Huggingface push to hub now accepts a `--n-timesteps` argument to adjust the length of the video
- Fixed `record_video` steps (before it was stepping in a closed env)
- Dropped Gym 0.21 support
2023-04-11 16:00:33 +00:00
Bug Fixes:
^^^^^^^^^^
2023-04-12 13:20:04 +00:00
- Fixed `` VecExtractDictObs `` does not handle terminal observation (@WeberSamuel)
2023-04-27 17:07:53 +00:00
- Set NumPy version to `` >=1.20 `` due to use of `` numpy.typing `` (@troiganto)
2023-04-27 16:35:33 +00:00
- Fixed loading DQN changes `` target_update_interval `` (@tobirohrer)
2023-05-25 15:12:32 +00:00
- Fixed env checker to properly reset the env before calling `` step() `` when checking
for `` Inf `` and `` NaN `` (@lutogniew)
2023-06-07 13:57:12 +00:00
- Fixed HER `` truncate_last_trajectory() `` (@lbergmann1)
2023-06-21 14:27:06 +00:00
- Fixed HER desired and achieved goal order in reward computation (@JonathanKuelz)
2023-04-11 16:00:33 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
2023-04-14 11:13:59 +00:00
- Fixed `` stable_baselines3/a2c/*.py `` type hints
- Fixed `` stable_baselines3/ppo/*.py `` type hints
- Fixed `` stable_baselines3/sac/*.py `` type hints
- Fixed `` stable_baselines3/td3/*.py `` type hints
- Fixed `` stable_baselines3/common/base_class.py `` type hints
2023-05-04 18:27:15 +00:00
- Fixed `` stable_baselines3/common/logger.py `` type hints
- Fixed `` stable_baselines3/common/envs/*.py `` type hints
- Fixed `` stable_baselines3/common/vec_env/vec_monitor|vec_extract_dict_obs|util.py `` type hints
- Fixed `` stable_baselines3/common/vec_env/base_vec_env.py `` type hints
- Fixed `` stable_baselines3/common/vec_env/vec_frame_stack.py `` type hints
- Fixed `` stable_baselines3/common/vec_env/dummy_vec_env.py `` type hints
2023-05-20 08:30:54 +00:00
- Fixed `` stable_baselines3/common/vec_env/subproc_vec_env.py `` type hints
2023-04-14 11:13:59 +00:00
- Upgraded docker images to use mamba/micromamba and CUDA 11.7
- Updated env checker to reflect what subset of Gymnasium is supported and improve GoalEnv checks
- Improve type annotation of wrappers
- Tests envs are now checked too
2023-06-07 14:20:40 +00:00
- Added render test for `` VecEnv `` and `` VecEnvWrapper ``
2023-04-14 11:50:14 +00:00
- Update issue templates and env info saved with the model
2023-05-04 18:27:15 +00:00
- Changed `` seed() `` method return type from `` List `` to `` Sequence ``
2023-05-24 09:16:47 +00:00
- Updated env checker doc and requirements for tuple spaces/goal envs
2023-04-11 16:00:33 +00:00
Documentation:
^^^^^^^^^^^^^^
2023-06-05 08:36:09 +00:00
- Added Deep RL Course link to the Deep RL Resources page
2023-04-14 11:13:59 +00:00
- Added documentation about `` VecEnv `` API vs Gym API
- Upgraded tutorials to Gymnasium API
- Make it more explicit when using `` VecEnv `` vs Gym env
2023-04-20 21:12:57 +00:00
- Added UAV_Navigation_DRL_AirSim to the project page (@heleidsn)
2023-05-02 16:02:36 +00:00
- Added `` EvalCallback `` example (@sidney-tio)
2023-05-08 11:48:26 +00:00
- Update custom env documentation
2023-05-26 08:01:59 +00:00
- Added `pink-noise-rl` to projects page
2023-06-21 16:54:16 +00:00
- Fix custom policy example, `` ortho_init `` was ignored
- Added SBX page
2023-04-11 16:00:33 +00:00
2022-10-11 08:55:16 +00:00
2023-04-08 13:36:55 +00:00
Release 1.8.0 (2023-04-07)
2023-01-11 13:13:21 +00:00
--------------------------
2023-04-08 13:36:55 +00:00
**Multi-env HerReplayBuffer, Open RL Benchmark, Improved env checker**
2023-03-14 11:43:19 +00:00
.. warning ::
Stable-Baselines3 (SB3) v1.8.0 will be the last one to use Gym as a backend.
Starting with v2.0.0, Gymnasium will be the default backend (though SB3 will have compatibility layers for Gym envs).
You can find a migration guide here: https://gymnasium.farama.org/content/migration-guide/.
If you want to try the SB3 v2.0 alpha version, you can take a look at `PR #1327 <https://github.com/DLR-RM/stable-baselines3/pull/1327> `_ .
2023-01-11 13:13:21 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
2023-01-23 13:55:19 +00:00
- Removed shared layers in `` mlp_extractor `` (@AlexPasqua)
2023-02-06 21:41:59 +00:00
- Refactored `` StackedObservations `` (it now handles dict obs, `` StackedDictObservations `` was removed)
2023-02-19 11:53:10 +00:00
- You must now explicitely pass a `` features_extractor `` parameter when calling `` extract_features() ``
2023-03-20 11:03:57 +00:00
- Dropped offline sampling for `` HerReplayBuffer ``
- As `` HerReplayBuffer `` was refactored to support multiprocessing, previous replay buffer are incompatible with this new version
- `` HerReplayBuffer `` doesn't require a `` max_episode_length `` anymore
2023-01-11 13:13:21 +00:00
New Features:
^^^^^^^^^^^^^
2023-01-26 09:32:58 +00:00
- Added `` repeat_action_probability `` argument in `` AtariWrapper `` .
- Only use `` NoopResetEnv `` and `` MaxAndSkipEnv `` when needed in `` AtariWrapper ``
2023-02-27 12:45:17 +00:00
- Added support for dict/tuple observations spaces for `` VecCheckNan `` , the check is now active in the `` env_checker() `` (@DavyMorgan)
2023-03-20 11:03:57 +00:00
- Added multiprocessing support for `` HerReplayBuffer ``
- `` HerReplayBuffer `` now supports all datatypes supported by `` ReplayBuffer ``
2023-04-08 13:36:55 +00:00
- Provide more helpful failure messages when validating the `` observation_space `` of custom gym environments using `` check_env `` (@FieteO)
2023-04-05 09:33:26 +00:00
- Added `` stats_window_size `` argument to control smoothing in rollout logging (@jonasreiher)
2023-03-20 11:03:57 +00:00
2023-01-11 13:13:21 +00:00
`SB3-Contrib`_
^^^^^^^^^^^^^^
2023-04-08 13:36:55 +00:00
- Added warning about potential crashes caused by `` check_env `` in the `` MaskablePPO `` docs (@AlexPasqua)
- Fixed `` sb3_contrib/qrdqn/*.py `` type hints
- Removed shared layers in `` mlp_extractor `` (@AlexPasqua)
2023-01-11 13:13:21 +00:00
`RL Zoo`_
^^^^^^^^^
2023-04-08 13:36:55 +00:00
- `Open RL Benchmark <https://github.com/openrlbenchmark/openrlbenchmark/issues/7> `_
- Upgraded to new `HerReplayBuffer` implementation that supports multiple envs
- Removed `TimeFeatureWrapper` for Panda and Fetch envs, as the new replay buffer should handle timeout.
- Tuned hyperparameters for RecurrentPPO on Swimmer
- Documentation is now built using Sphinx and hosted on read the doc
- Removed `use_auth_token` for push to hub util
- Reverted from v3 to v2 for HumanoidStandup, Reacher, InvertedPendulum and InvertedDoublePendulum since they were not part of the mujoco refactoring (see https://github.com/openai/gym/pull/1304)
- Fixed `gym-minigrid` policy (from `MlpPolicy` to `MultiInputPolicy` )
- Replaced deprecated `optuna.suggest_loguniform(...)` by `optuna.suggest_float(..., log=True)`
- Switched to `ruff` and `pyproject.toml`
- Removed `online_sampling` and `max_episode_length` argument when using `HerReplayBuffer`
2023-01-11 13:13:21 +00:00
Bug Fixes:
^^^^^^^^^^
2023-01-25 23:31:20 +00:00
- Fixed Atari wrapper that missed the reset condition (@luizapozzobon)
2023-02-07 12:42:14 +00:00
- Added the argument `` dtype `` (default to `` float32 `` ) to the noise for consistency with gym action (@sidney-tio)
2023-02-06 14:48:41 +00:00
- Fixed PPO train/n_updates metric not accounting for early stopping (@adamfrly)
2023-02-15 13:17:18 +00:00
- Fixed loading of normalized image-based environments
2023-04-08 13:36:55 +00:00
- Fixed `` DictRolloutBuffer.add `` with multidimensional action space (@younik)
2023-01-11 13:13:21 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
2023-01-13 17:28:22 +00:00
- Fixed `` tests/test_tensorboard.py `` type hint
- Fixed `` tests/test_vec_normalize.py `` type hint
- Fixed `` stable_baselines3/common/monitor.py `` type hint
2023-02-06 21:41:59 +00:00
- Added tests for StackedObservations
2023-03-02 13:14:57 +00:00
- Removed Gitlab CI file
2023-03-11 21:15:26 +00:00
- Moved from `` setup.cg `` to `` pyproject.toml `` configuration file
- Switched from `` flake8 `` to `` ruff ``
- Upgraded AutoROM to latest version
2023-03-30 09:31:47 +00:00
- Fixed `` stable_baselines3/dqn/*.py `` type hints
2023-03-12 17:47:52 +00:00
- Added `` extra_no_roms `` option for package installation without Atari Roms
2023-01-11 13:13:21 +00:00
Documentation:
^^^^^^^^^^^^^^
- Renamed `` load_parameters `` to `` set_parameters `` (@DavyMorgan)
2023-02-02 11:34:38 +00:00
- Clarified documentation about subproc multiprocessing for A2C (@Bonifatius94)
2023-01-28 11:04:07 +00:00
- Fixed typo in `` A2C `` docstring (@AlexPasqua)
2023-02-10 20:15:09 +00:00
- Renamed timesteps to episodes for `` log_interval `` description (@theSquaredError)
2023-02-15 12:14:02 +00:00
- Removed note about gif creation for Atari games (@harveybellini)
2023-03-02 13:14:57 +00:00
- Added information about default network architecture
2023-03-14 11:43:19 +00:00
- Update information about Gymnasium support
2023-01-11 13:13:21 +00:00
2023-01-10 16:32:57 +00:00
Release 1.7.0 (2023-01-10)
2022-10-11 08:55:16 +00:00
--------------------------
2023-01-05 08:59:36 +00:00
.. warning ::
2023-01-10 16:32:57 +00:00
2023-01-05 08:59:36 +00:00
Shared layers in MLP policy (`` mlp_extractor `` ) are now deprecated for PPO, A2C and TRPO.
This feature will be removed in SB3 v1.8.0 and the behavior of `` net_arch=[64, 64] ``
will create **separate** networks with the same architecture, to be consistent with the off-policy algorithms.
2022-12-22 22:58:30 +00:00
.. note ::
A2C and PPO saved with SB3 < 1.7.0 will show a warning about
missing keys in the state dict when loaded with SB3 >= 1.7.0.
To suppress the warning, simply save the model again.
You can find more info in `issue #1233 <https://github.com/DLR-RM/stable-baselines3/issues/1233> `_
2022-10-11 08:55:16 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
- Removed deprecated `` create_eval_env `` , `` eval_env `` , `` eval_log_path `` , `` n_eval_episodes `` and `` eval_freq `` parameters,
please use an `` EvalCallback `` instead
- Removed deprecated `` sde_net_arch `` parameter
- Removed `` ret `` attributes in `` VecNormalize `` , please use `` returns `` instead
2022-12-20 12:18:28 +00:00
- `` VecNormalize `` now updates the observation space when normalizing images
2022-10-11 08:55:16 +00:00
New Features:
^^^^^^^^^^^^^
2022-11-16 12:22:57 +00:00
- Introduced mypy type checking
2022-12-20 14:12:05 +00:00
- Added option to have non-shared features extractor between actor and critic in on-policy algorithms (@AlexPasqua)
2022-11-29 11:43:16 +00:00
- Added `` with_bias `` argument to `` create_mlp ``
2022-12-08 17:46:41 +00:00
- Added support for multidimensional `` spaces.MultiBinary `` observations
2022-12-20 12:18:28 +00:00
- Features extractors now properly support unnormalized image-like observations (3D tensor)
when passing `` normalize_images=False ``
- Added `` normalized_image `` parameter to `` NatureCNN `` and `` CombinedExtractor ``
2022-12-21 14:52:48 +00:00
- Added support for Python 3.10
2022-10-11 08:55:16 +00:00
2023-01-05 08:59:36 +00:00
`SB3-Contrib`_
^^^^^^^^^^^^^^
- Fixed a bug in `` RecurrentPPO `` where the lstm states where incorrectly reshaped for `` n_lstm_layers > 1 `` (thanks @kolbytn)
- Fixed `` RuntimeError: rnn: hx is not contiguous `` while predicting terminal values for `` RecurrentPPO `` when `` n_lstm_layers > 1 ``
`RL Zoo`_
^^^^^^^^^
- Added support for python file for configuration
- Added `` monitor_kwargs `` parameter
2022-10-11 08:55:16 +00:00
Bug Fixes:
^^^^^^^^^^
2023-01-10 16:32:57 +00:00
- Fixed `` ProgressBarCallback `` under-reporting (@dominicgkerr)
2022-12-08 17:46:41 +00:00
- Fixed return type of `` evaluate_actions `` in `` ActorCritcPolicy `` to reflect that entropy is an optional tensor (@Rocamonde)
- Fixed type annotation of `` policy `` in `` BaseAlgorithm `` and `` OffPolicyAlgorithm ``
2022-10-17 15:33:47 +00:00
- Allowed model trained with Python 3.7 to be loaded with Python 3.8+ without the `` custom_objects `` workaround
2022-11-22 13:28:58 +00:00
- Raise an error when the same gym environment instance is passed as separate environments when creating a vectorized environment with more than one environment. (@Rocamonde)
2022-11-03 14:36:19 +00:00
- Fix type annotation of `` model `` in `` evaluate_policy ``
2022-11-22 12:42:39 +00:00
- Fixed `` Self `` return type using `` TypeVar ``
2022-12-20 12:18:28 +00:00
- Fixed the env checker, the key was not passed when checking images from Dict observation space
- Fixed `` normalize_images `` which was not passed to parent class in some cases
2022-12-22 16:28:18 +00:00
- Fixed `` load_from_vector `` that was broken with newer PyTorch version when passing PyTorch tensor
2022-10-11 08:55:16 +00:00
Deprecations:
^^^^^^^^^^^^^
2022-12-20 14:12:05 +00:00
- You should now explicitely pass a `` features_extractor `` parameter when calling `` extract_features() ``
2023-01-05 08:59:36 +00:00
- Deprecated shared layers in `` MlpExtractor `` (@AlexPasqua)
2022-10-11 08:55:16 +00:00
Others:
^^^^^^^
2022-10-13 15:46:21 +00:00
- Used issue forms instead of issue templates
2022-12-20 14:13:42 +00:00
- Updated the PR template to associate each PR with its peer in RL-Zoo3 and SB3-Contrib
2022-11-25 14:14:55 +00:00
- Fixed flake8 config to be compatible with flake8 6+
2022-11-28 18:36:26 +00:00
- Goal-conditioned environments are now characterized by the availability of the `` compute_reward `` method, rather than by their inheritance to `` gym.GoalEnv ``
- Replaced `` CartPole-v0 `` by `` CartPole-v1 `` is tests
2022-12-18 15:13:44 +00:00
- Fixed `` tests/test_distributions.py `` type hints
- Fixed `` stable_baselines3/common/type_aliases.py `` type hints
- Fixed `` stable_baselines3/common/torch_layers.py `` type hints
- Fixed `` stable_baselines3/common/env_util.py `` type hints
2022-12-18 14:53:17 +00:00
- Fixed `` stable_baselines3/common/preprocessing.py `` type hints
2022-12-18 15:13:44 +00:00
- Fixed `` stable_baselines3/common/atari_wrappers.py `` type hints
2022-12-22 11:24:59 +00:00
- Fixed `` stable_baselines3/common/vec_env/vec_check_nan.py `` type hints
2022-11-29 22:33:46 +00:00
- Exposed modules in `` __init__.py `` with the `` __all__ `` attribute (@ZikangXiong)
2022-12-07 15:43:47 +00:00
- Upgraded GitHub CI/setup-python to v4 and checkout to v3
2022-12-19 12:21:10 +00:00
- Set tensors construction directly on the device (~8% speed boost on GPU)
- Monkey-patched `` np.bool = bool `` so gym 0.21 is compatible with NumPy 1.24+
2023-01-02 13:51:11 +00:00
- Standardized the use of `` from gym import spaces ``
- Modified `` get_system_info `` to avoid issue linked to copy-pasting on GitHub issue
2022-10-11 08:55:16 +00:00
Documentation:
^^^^^^^^^^^^^^
2022-10-24 09:03:20 +00:00
- Updated Hugging Face Integration page (@simoninithomas)
2022-11-28 18:36:26 +00:00
- Changed `` env `` to `` vec_env `` when environment is vectorized
2022-12-12 15:19:51 +00:00
- Updated custom policy docs to better explain the `` mlp_extractor `` 's dimensions (@AlexPasqua)
2022-12-21 11:51:28 +00:00
- Updated custom policy documentation (@athatheo)
- Improved tensorboard callback doc
2022-12-20 12:18:28 +00:00
- Clarify doc when using image-like input
2022-12-28 14:06:09 +00:00
- Added RLeXplore to the project page (@yuanmingqi)
2022-10-11 08:55:16 +00:00
2022-12-21 11:51:28 +00:00
2022-10-10 14:37:11 +00:00
Release 1.6.2 (2022-10-10)
--------------------------
**Progress bar in the learn() method, RL Zoo3 is now a package**
2022-10-06 11:36:06 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
New Features:
^^^^^^^^^^^^^
2022-10-06 16:17:31 +00:00
- Added `` progress_bar `` argument in the `` learn() `` method, displayed using TQDM and rich packages
- Added progress bar callback
2022-10-10 14:37:11 +00:00
- The `RL Zoo <https://github.com/DLR-RM/rl-baselines3-zoo> `_ can now be installed as a package (`` pip install rl_zoo3 `` )
2022-10-06 11:36:06 +00:00
2023-01-05 08:59:36 +00:00
`SB3-Contrib`_
^^^^^^^^^^^^^^
`RL Zoo`_
^^^^^^^^^
- RL Zoo is now a python package and can be installed using `` pip install rl_zoo3 ``
2022-10-06 11:36:06 +00:00
Bug Fixes:
^^^^^^^^^^
2022-10-06 16:17:31 +00:00
- `` self.num_timesteps `` was initialized properly only after the first call to `` on_step() `` for callbacks
2022-10-10 14:37:11 +00:00
- Set importlib-metadata version to `` ~=4.13 `` to be compatible with `` gym=0.21 ``
2022-10-06 11:36:06 +00:00
Deprecations:
^^^^^^^^^^^^^
2022-10-10 13:39:38 +00:00
- Added deprecation warning if parameters `` eval_env `` , `` eval_freq `` or `` create_eval_env `` are used (see #925) (@tobirohrer)
2022-10-06 11:36:06 +00:00
Others:
^^^^^^^
- Fixed type hint of the `` env_id `` parameter in `` make_vec_env `` and `` make_atari_env `` (@AlexPasqua)
Documentation:
^^^^^^^^^^^^^^
- Extended docstring of the `` wrapper_class `` parameter in `` make_vec_env `` (@AlexPasqua)
2019-09-26 09:46:40 +00:00
2022-09-29 10:15:55 +00:00
Release 1.6.1 (2022-09-29)
2022-07-15 20:48:27 +00:00
---------------------------
2022-09-29 10:15:55 +00:00
**Bug fix release**
2022-07-15 20:48:27 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
2022-08-22 20:06:54 +00:00
- Switched minimum tensorboard version to 2.9.1
2022-07-15 20:48:27 +00:00
New Features:
^^^^^^^^^^^^^
2022-08-22 20:06:54 +00:00
- Support logging hyperparameters to tensorboard (@timothe-chaumont)
2022-08-25 08:57:51 +00:00
- Added checkpoints for replay buffer and `` VecNormalize `` statistics (@anand-bala)
2022-08-31 09:53:44 +00:00
- Added option for `` Monitor `` to append to existing file instead of overriding (@sidney-tio)
2022-09-05 12:54:58 +00:00
- The env checker now raises an error when using dict observation spaces and observation keys don't match observation space keys
2022-07-15 20:48:27 +00:00
2023-01-05 08:59:36 +00:00
`SB3-Contrib`_
^^^^^^^^^^^^^^
2022-09-29 10:15:55 +00:00
- Fixed the issue of wrongly passing policy arguments when using `` CnnLstmPolicy `` or `` MultiInputLstmPolicy `` with `` RecurrentPPO `` (@mlodel)
2022-07-15 20:48:27 +00:00
Bug Fixes:
^^^^^^^^^^
2022-08-25 09:50:08 +00:00
- Fixed issue where `` PPO `` gives NaN if rollout buffer provides a batch of size 1 (@hughperkins)
2022-07-18 09:22:19 +00:00
- Fixed the issue that `` predict `` does not always return action as `` np.ndarray `` (@qgallouedec)
2022-07-25 21:02:53 +00:00
- Fixed division by zero error when computing FPS when a small number of time has elapsed in operating systems with low-precision timers.
2022-08-06 12:19:20 +00:00
- Added multidimensional action space support (@qgallouedec)
2022-08-16 11:32:32 +00:00
- Fixed missing verbose parameter passing in the `` EvalCallback `` constructor (@burakdmb)
2022-08-23 08:20:43 +00:00
- Fixed the issue that when updating the target network in DQN, SAC, TD3, the `` running_mean `` and `` running_var `` properties of batch norm layers are not updated (@honglu2875)
2022-09-02 03:10:01 +00:00
- Fixed incorrect type annotation of the replay_buffer_class argument in `` common.OffPolicyAlgorithm `` initializer, where an instance instead of a class was required (@Rocamonde)
2023-02-15 13:17:18 +00:00
- Fixed loading saved model with different number of environments
2022-09-11 16:39:13 +00:00
- Removed `` forward() `` abstract method declaration from `` common.policies.BaseModel `` (already defined in `` torch.nn.Module `` ) to fix type errors in subclasses (@Rocamonde)
2022-09-26 10:13:56 +00:00
- Fixed the return type of `` .load() `` and `` .learn() `` methods in `` BaseAlgorithm `` so that they now use `` TypeVar `` (@Rocamonde)
2022-09-28 10:06:07 +00:00
- Fixed an issue where keys with different tags but the same key raised an error in `` common.logger.HumanOutputFormat `` (@Rocamonde and @AdamGleave)
2022-10-03 10:03:51 +00:00
- Set importlib-metadata version to `~=4.13`
2022-07-15 20:48:27 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
2022-08-16 08:53:22 +00:00
- Fixed `` DictReplayBuffer.next_observations `` typing (@qgallouedec)
2022-08-16 15:54:55 +00:00
- Added support for `` device="auto" `` in buffers and made it default (@qgallouedec)
2023-01-10 14:17:52 +00:00
- Updated `` ResultsWriter `` (used internally by `` Monitor `` wrapper) to automatically create missing directories when `` filename `` is a path (@dominicgkerr)
2022-08-16 15:54:55 +00:00
2022-07-15 20:48:27 +00:00
Documentation:
^^^^^^^^^^^^^^
2022-08-22 20:06:54 +00:00
- Added an example of callback that logs hyperparameters to tensorboard. (@timothe-chaumont)
2022-07-30 10:52:35 +00:00
- Fixed typo in docstring "nature" -> "Nature" (@Melanol)
- Added info on split tensorboard logs into (@Melanol)
- Fixed typo in ppo doc (@francescoluciano)
2022-08-05 15:54:48 +00:00
- Fixed typo in install doc(@jlp-ue)
2022-09-09 14:46:28 +00:00
- Clarified and standardized verbosity documentation
2022-09-18 07:17:57 +00:00
- Added link to a GitHub issue in the custom policy documentation (@AlexPasqua)
2022-09-30 12:30:40 +00:00
- Update doc on exporting models (fixes and added torch jit)
2022-09-28 12:57:46 +00:00
- Fixed typos (@Akhilez)
2022-10-03 13:15:39 +00:00
- Standardized the use of `` " `` for string representation in documentation
2022-09-09 14:46:28 +00:00
2022-07-12 20:50:23 +00:00
Release 1.6.0 (2022-07-11)
2022-03-28 08:35:33 +00:00
---------------------------
2022-07-12 20:50:23 +00:00
**Recurrent PPO (PPO LSTM), better defaults for learning from pixels with SAC/TD3**
2022-03-28 08:35:33 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
2022-04-08 19:21:53 +00:00
- Changed the way policy "aliases" are handled ("MlpPolicy", "CnnPolicy", ...), removing the former
`` register_policy `` helper, `` policy_base `` parameter and using `` policy_aliases `` static attributes instead (@Gregwar)
2022-04-11 16:34:15 +00:00
- SB3 now requires PyTorch >= 1.11
2022-06-18 08:52:52 +00:00
- Changed the default network architecture when using `` CnnPolicy `` or `` MultiInputPolicy `` with SAC or DDPG/TD3,
`` share_features_extractor `` is now set to False by default and the `` net_arch=[256, 256] `` (instead of `` net_arch=[] `` that was before)
2022-03-28 08:35:33 +00:00
New Features:
^^^^^^^^^^^^^
2023-04-14 11:13:59 +00:00
2023-01-05 08:59:36 +00:00
`SB3-Contrib`_
^^^^^^^^^^^^^^
2022-05-31 16:11:16 +00:00
- Added Recurrent PPO (PPO LSTM). See https://github.com/Stable-Baselines-Team/stable-baselines3-contrib/pull/53
2022-03-28 08:35:33 +00:00
Bug Fixes:
^^^^^^^^^^
- Fixed saving and loading large policies greater than 2GB (@jkterry1, @ycheng517)
2022-04-11 15:50:02 +00:00
- Fixed final goal selection strategy that did not sample the final achieved goal (@qgallouedec)
2022-04-11 19:49:18 +00:00
- Fixed a bug with special characters in the tensorboard log name (@quantitative-technologies)
2022-04-12 14:05:40 +00:00
- Fixed a bug in `` DummyVecEnv `` 's and `` SubprocVecEnv `` 's seeding function. None value was unchecked (@ScheiklP)
2022-05-08 18:54:34 +00:00
- Fixed a bug where `` EvalCallback `` would crash when trying to synchronize `` VecNormalize `` stats when observation normalization was disabled
2022-05-25 14:24:21 +00:00
- Added a check for unbounded actions
2022-05-29 19:09:50 +00:00
- Fixed issues due to newer version of protobuf (tensorboard) and sphinx
2022-06-21 19:58:02 +00:00
- Fix exception causes all over the codebase (@cool-RR)
2022-07-04 13:08:54 +00:00
- Prohibit simultaneous use of optimize_memory_usage and handle_timeout_termination due to a bug (@MWeltevrede)
2022-07-12 20:50:23 +00:00
- Fixed a bug in `` kl_divergence `` check that would fail when using numpy arrays with MultiCategorical distribution
2022-03-28 08:35:33 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
2022-04-25 10:01:38 +00:00
- Upgraded to Python 3.7+ syntax using `` pyupgrade ``
2022-05-09 11:36:15 +00:00
- Removed redundant double-check for nested observations from `` BaseAlgorithm._wrap_env `` (@TibiGG)
2022-03-28 08:35:33 +00:00
Documentation:
^^^^^^^^^^^^^^
2022-04-11 16:34:15 +00:00
- Added link to gym doc and gym env checker
2022-04-19 12:15:51 +00:00
- Fix typo in PPO doc (@bcollazo)
2022-05-01 14:26:34 +00:00
- Added link to PPO ICLR blog post
- Added remark about breaking Markov assumption and timeout handling
2022-05-08 13:28:31 +00:00
- Added doc about MLFlow integration via custom logger (@git-thor)
2022-05-25 14:24:21 +00:00
- Updated Huggingface integration doc
2022-07-12 20:50:23 +00:00
- Added copy button for code snippets
- Added doc about EnvPool and Isaac Gym support
2022-03-28 08:35:33 +00:00
2022-03-25 13:38:22 +00:00
Release 1.5.0 (2022-03-25)
2022-01-20 09:04:12 +00:00
---------------------------
2022-03-25 13:38:22 +00:00
**Bug fixes, early stopping callback**
2022-01-20 09:04:12 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
2023-04-14 11:13:59 +00:00
- Switched minimum Gym version to 0.21.0
2022-01-20 09:04:12 +00:00
New Features:
^^^^^^^^^^^^^
2022-02-25 10:56:47 +00:00
- Added `` StopTrainingOnNoModelImprovement `` to callback collection (@caburu)
2022-02-21 22:12:54 +00:00
- Makes the length of keys and values in `` HumanOutputFormat `` configurable,
2022-02-05 10:57:35 +00:00
depending on desired maximum width of output.
2022-02-22 14:29:21 +00:00
- Allow PPO to turn of advantage normalization (see `PR #763 <https://github.com/DLR-RM/stable-baselines3/pull/763> `_ ) @vwxyzjn
2022-01-20 09:04:12 +00:00
2023-01-05 08:59:36 +00:00
`SB3-Contrib`_
^^^^^^^^^^^^^^
2022-03-25 13:38:22 +00:00
- coming soon: Cross Entropy Method, see https://github.com/Stable-Baselines-Team/stable-baselines3-contrib/pull/62
2022-01-20 09:04:12 +00:00
Bug Fixes:
^^^^^^^^^^
- Fixed a bug in `` VecMonitor `` . The monitor did not consider the `` info_keywords `` during stepping (@ScheiklP)
2022-02-05 10:57:35 +00:00
- Fixed a bug in `` HumanOutputFormat `` . Distinct keys truncated to the same prefix would overwrite each others value,
resulting in only one being output. This now raises an error (this should only affect a small fraction of use cases
with very long keys.)
2022-02-23 11:33:41 +00:00
- Routing all the `` nn.Module `` calls through implicit rather than explict forward as per pytorch guidelines (@manuel-delverme)
- Fixed a bug in `` VecNormalize `` where error occurs when `` norm_obs `` is set to False for environment with dictionary observation (@buoyancy99)
2022-02-24 14:51:01 +00:00
- Set default `` env `` argument to `` None `` in `` HerReplayBuffer.sample `` (@qgallouedec)
- Fix `` batch_size `` typing in `` DQN `` (@qgallouedec)
- Fixed sample normalization in `` DictReplayBuffer `` (@qgallouedec)
2022-01-20 09:04:12 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
2022-02-21 22:12:54 +00:00
- Fixed pytest warnings
2022-03-23 12:33:55 +00:00
- Removed parameter `` remove_time_limit_termination `` in off policy algorithms since it was dead code (@Gregwar)
2022-01-20 09:04:12 +00:00
Documentation:
^^^^^^^^^^^^^^
- Added doc on Hugging Face integration (@simoninithomas)
2022-02-04 09:39:49 +00:00
- Added furuta pendulum project to project list (@armandpl)
2022-02-07 19:00:53 +00:00
- Fix indentation 2 spaces to 4 spaces in custom env documentation example (@Gautam-J)
2022-02-15 23:50:17 +00:00
- Update MlpExtractor docstring (@gianlucadecola)
2022-03-07 11:20:43 +00:00
- Added explanation of the logger output
2022-03-15 20:48:52 +00:00
- Update `` Directly Accessing The Summary Writer `` in tensorboard integration (@xy9485)
2022-01-20 09:04:12 +00:00
2022-01-19 10:16:15 +00:00
Release 1.4.0 (2022-01-18)
2021-10-28 17:18:39 +00:00
---------------------------
2022-01-19 10:16:15 +00:00
*TRPO, ARS and multi env training for off-policy algorithms*
2021-10-28 17:18:39 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
2021-12-06 11:54:43 +00:00
- Dropped python 3.6 support (as announced in previous release)
2021-11-30 12:49:06 +00:00
- Renamed `` mask `` argument of the `` predict() `` method to `` episode_start `` (used with RNN policies only)
2021-12-01 21:30:09 +00:00
- local variables `` action `` , `` done `` and `` reward `` were renamed to their plural form for offpolicy algorithms (`` actions `` , `` dones `` , `` rewards `` ),
this may affect custom callbacks.
- Removed `` episode_reward `` field from `` RolloutReturn() `` type
2021-10-28 17:18:39 +00:00
2022-01-19 10:16:15 +00:00
.. warning ::
An update to the `` HER `` algorithm is planned to support multi-env training and remove the max episode length constrain.
(see `PR #704 <https://github.com/DLR-RM/stable-baselines3/pull/704> `_ )
This will be a backward incompatible change (model trained with previous version of `` HER `` won't work with the new version).
2021-10-28 17:18:39 +00:00
New Features:
^^^^^^^^^^^^^
- Added `` norm_obs_keys `` param for `` VecNormalize `` wrapper to configure which observation keys to normalize (@kachayev)
2021-12-01 21:30:09 +00:00
- Added experimental support to train off-policy algorithms with multiple envs (note: `` HerReplayBuffer `` currently not supported)
2021-11-16 16:19:16 +00:00
- Handle timeout termination properly for on-policy algorithms (when using `` TimeLimit `` )
2021-12-23 15:12:49 +00:00
- Added `` skip `` option to `` VecTransposeImage `` to skip transforming the channel order when the heuristic is wrong
2022-01-05 23:31:04 +00:00
- Added `` copy() `` and `` combine() `` methods to `` RunningMeanStd ``
2021-10-28 17:18:39 +00:00
2023-01-05 08:59:36 +00:00
`SB3-Contrib`_
^^^^^^^^^^^^^^
2022-01-18 14:10:25 +00:00
- Added Trust Region Policy Optimization (TRPO) (@cyprienc)
- Added Augmented Random Search (ARS) (@sgillen)
2022-01-19 10:16:15 +00:00
- Coming soon: PPO LSTM, see https://github.com/Stable-Baselines-Team/stable-baselines3-contrib/pull/53
2022-01-18 14:10:25 +00:00
2021-10-28 17:18:39 +00:00
Bug Fixes:
^^^^^^^^^^
2021-11-02 11:52:26 +00:00
- Fixed a bug where `` set_env() `` with `` VecNormalize `` would result in an error with off-policy algorithms (thanks @cleversonahum)
2021-10-31 17:19:03 +00:00
- FPS calculation is now performed based on number of steps performed during last `` learn `` call, even when `` reset_num_timesteps `` is set to `` False `` (@kachayev)
2021-11-30 12:49:06 +00:00
- Fixed evaluation script for recurrent policies (experimental feature in SB3 contrib)
2021-12-09 12:14:33 +00:00
- Fixed a bug where the observation would be incorrectly detected as non-vectorized instead of throwing an error
- The env checker now properly checks and warns about potential issues for continuous action spaces when the boundaries are too small or when the dtype is not float32
2021-12-23 15:12:49 +00:00
- Fixed a bug in `` VecFrameStack `` with channel first image envs, where the terminal observation would be wrongly created.
2021-11-02 11:52:26 +00:00
2021-10-28 17:18:39 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
2021-12-09 12:14:33 +00:00
- Added a warning in the env checker when not using `` np.float32 `` for continuous actions
- Improved test coverage and error message when checking shape of observation
2021-12-18 14:04:33 +00:00
- Added `` newline="\n" `` when opening CSV monitor files so that each line ends with `` \r\n `` instead of `` \r\r\n `` on Windows while Linux environments are not affected (@hsuehch)
2021-12-22 10:43:59 +00:00
- Fixed `` device `` argument inconsistency (@qgallouedec)
2021-10-28 17:18:39 +00:00
Documentation:
^^^^^^^^^^^^^^
2021-11-17 10:13:43 +00:00
- Add drivergym to projects page (@theDebugger811)
2021-10-30 11:53:36 +00:00
- Add highway-env to projects page (@eleurent)
2021-10-31 17:26:06 +00:00
- Add tactile-gym to projects page (@ac-93)
2021-11-10 16:54:20 +00:00
- Fix indentation in the RL tips page (@cove9988)
2021-11-25 09:53:42 +00:00
- Update GAE computation docstring
2021-11-28 09:54:50 +00:00
- Add documentation on exporting to TFLite/Coral
2021-12-01 17:55:21 +00:00
- Added JMLR paper and updated citation
2021-12-09 12:14:33 +00:00
- Added link to RL Tips and Tricks video
2021-12-23 15:12:49 +00:00
- Updated `` BaseAlgorithm.load `` docstring (@Demetrio92)
- Added a note on `` load `` behavior in the examples (@Demetrio92)
2021-12-29 13:25:09 +00:00
- Updated SB3 Contrib doc
2021-12-30 10:28:12 +00:00
- Fixed A2C and migration guide guidance on how to set epsilon with RMSpropTFLike (@thomasgubler)
2022-01-03 15:22:58 +00:00
- Fixed custom policy documentation (@IperGiove)
2022-01-18 14:10:25 +00:00
- Added doc on Weights & Biases integration
2021-10-28 17:18:39 +00:00
2021-10-23 15:07:00 +00:00
Release 1.3.0 (2021-10-23)
2021-09-13 08:25:42 +00:00
---------------------------
2021-10-23 15:07:00 +00:00
*Bug fixes and improvements for the user*
2021-10-23 14:36:40 +00:00
.. warning ::
This version will be the last one supporting Python 3.6 (end of life in Dec 2021).
We highly recommended you to upgrade to Python >= 3.7.
2021-09-13 08:25:42 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
2021-09-28 19:32:54 +00:00
- `` sde_net_arch `` argument in policies is deprecated and will be removed in a future version.
- `` _get_latent `` (`` ActorCriticPolicy `` ) was removed
2021-10-12 11:17:30 +00:00
- All logging keys now use underscores instead of spaces (@timokau). Concretely this changes:
- `` time/total timesteps `` to `` time/total_timesteps `` for off-policy algorithms (PPO and A2C) and the eval callback (on-policy algorithms already used the underscored version),
- `` rollout/exploration rate `` to `` rollout/exploration_rate `` and
- `` rollout/success rate `` to `` rollout/success_rate `` .
2021-09-13 08:25:42 +00:00
2022-02-04 23:13:57 +00:00
2021-09-13 08:25:42 +00:00
New Features:
^^^^^^^^^^^^^
2021-09-15 12:03:04 +00:00
- Added methods `` get_distribution `` and `` predict_values `` for `` ActorCriticPolicy `` for A2C/PPO/TRPO (@cyprienc)
2021-09-28 19:32:54 +00:00
- Added methods `` forward_actor `` and `` forward_critic `` for `` MlpExtractor ``
2021-10-18 08:43:56 +00:00
- Added `` sb3.get_system_info() `` helper function to gather version information relevant to SB3 (e.g., Python and PyTorch version)
2021-10-28 17:18:39 +00:00
- Saved models now store system information where agent was trained, and load functions have `` print_system_info `` parameter to help debugging load issues
2021-09-13 08:25:42 +00:00
Bug Fixes:
^^^^^^^^^^
2021-09-15 12:03:04 +00:00
- Fixed `` dtype `` of observations for `` SimpleMultiObsEnv ``
2021-09-18 10:11:01 +00:00
- Allow `VecNormalize` to wrap discrete-observation environments to normalize reward
2021-10-28 17:18:39 +00:00
when observation normalization is disabled
2021-09-28 19:57:49 +00:00
- Fixed a bug where `` DQN `` would throw an error when using `` Discrete `` observation and stochastic actions
- Fixed a bug where sub-classed observation spaces could not be used
2021-10-23 14:36:40 +00:00
- Added `` force_reset `` argument to `` load() `` and `` set_env() `` in order to be able to call `` learn(reset_num_timesteps=False) `` with a new environment
2021-09-13 08:25:42 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
2021-09-15 12:03:04 +00:00
- Cap gym max version to 0.19 to avoid issues with atari-py and other breaking changes
2021-10-08 16:08:31 +00:00
- Improved error message when using dict observation with the wrong policy
- Improved error message when using `` EvalCallback `` with two envs not wrapped the same way.
2021-10-23 14:36:40 +00:00
- Added additional infos about supported python version for PyPi in `` setup.py ``
2021-09-13 08:25:42 +00:00
Documentation:
^^^^^^^^^^^^^^
2021-09-18 09:47:22 +00:00
- Add Rocket League Gym to list of supported projects (@AechPro)
2021-09-18 09:10:04 +00:00
- Added gym-electric-motor to project page (@wkirgsn)
2021-09-20 14:30:16 +00:00
- Added policy-distillation-baselines to project page (@CUN-bjy)
2021-09-26 15:40:35 +00:00
- Added ONNX export instructions (@batu)
- Update read the doc env (fixed `` docutils `` issue)
2021-09-29 08:16:59 +00:00
- Fix PPO environment name (@IljaAvadiev)
2021-10-08 16:08:31 +00:00
- Fix custom env doc and add env registration example
2021-10-10 13:41:39 +00:00
- Update algorithms from SB3 Contrib
2021-10-23 14:36:40 +00:00
- Use underscores for numeric literals in examples to improve clarity
2021-09-13 08:25:42 +00:00
2021-09-08 10:30:20 +00:00
Release 1.2.0 (2021-09-03)
2021-07-06 07:32:03 +00:00
---------------------------
2021-09-08 10:30:20 +00:00
**Hotfix for VecNormalize, training/eval mode support**
2021-07-06 07:32:03 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
- SB3 now requires PyTorch >= 1.8.1
2021-09-08 10:30:20 +00:00
- `` VecNormalize `` `` ret `` attribute was renamed to `` returns ``
2021-07-06 07:32:03 +00:00
New Features:
^^^^^^^^^^^^^
Bug Fixes:
^^^^^^^^^^
2021-09-08 10:30:20 +00:00
- Hotfix for `` VecNormalize `` where the observation filter was not updated at reset (thanks @vwxyzjn)
2021-08-14 12:08:27 +00:00
- Fixed model predictions when using batch normalization and dropout layers by calling `` train() `` and `` eval() `` (@davidblom603)
2021-08-30 15:42:41 +00:00
- Fixed model training for DQN, TD3 and SAC so that their target nets always remain in evaluation mode (@ayeright)
- Passing `` gradient_steps=0 `` to an off-policy algorithm will result in no gradient steps being taken (vs as many gradient steps as steps done in the environment
during the rollout in previous versions)
2021-07-06 07:32:03 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
- Enabled Python 3.9 in GitHub CI
2021-07-29 11:02:09 +00:00
- Fixed type annotations
2021-09-04 23:27:45 +00:00
- Refactored `` predict() `` by moving the preprocessing to `` obs_to_tensor() `` method
2021-07-06 07:32:03 +00:00
Documentation:
^^^^^^^^^^^^^^
2021-07-18 18:51:41 +00:00
- Updated multiprocessing example
- Added example of `` VecEnvWrapper ``
2021-07-29 11:02:09 +00:00
- Added a note about logging to tensorboard more often
2021-08-09 13:23:25 +00:00
- Added warning about simplicity of examples and link to RL zoo (@MihaiAnca13)
2021-07-06 07:32:03 +00:00
2021-07-02 09:21:09 +00:00
Release 1.1.0 (2021-07-01)
2021-03-19 23:50:43 +00:00
---------------------------
2021-07-02 09:21:09 +00:00
**Dict observation support, timeout handling and refactored HER buffer**
2021-05-11 10:29:30 +00:00
2021-03-19 23:50:43 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
2021-05-11 10:29:30 +00:00
- All customs environments (e.g. the `` BitFlippingEnv `` or `` IdentityEnv `` ) were moved to `` stable_baselines3.common.envs `` folder
- Refactored `` HER `` which is now the `` HerReplayBuffer `` class that can be passed to any off-policy algorithm
- Handle timeout termination properly for off-policy algorithms (when using `` TimeLimit `` )
2021-04-16 13:52:55 +00:00
- Renamed `` _last_dones `` and `` dones `` to `` _last_episode_starts `` and `` episode_starts `` in `` RolloutBuffer `` .
2021-05-11 10:29:30 +00:00
- Removed `` ObsDictWrapper `` as `` Dict `` observation spaces are now supported
.. code-block :: python
her_kwargs = dict(n_sampled_goal=2, goal_selection_strategy="future", online_sampling=True)
# SB3 < 1.1.0
# model = HER("MlpPolicy", env, model_class=SAC, **her_kwargs)
# SB3 >= 1.1.0:
model = SAC("MultiInputPolicy", env, replay_buffer_class=HerReplayBuffer, replay_buffer_kwargs=her_kwargs)
2021-05-10 10:21:00 +00:00
- Updated the KL Divergence estimator in the PPO algorithm to be positive definite and have lower variance (@09tangriro)
- Updated the KL Divergence check in the PPO algorithm to be before the gradient update step rather than after end of epoch (@09tangriro)
2021-05-23 11:13:11 +00:00
- Removed parameter `` channels_last `` from `` is_image_space `` as it can be inferred.
2021-06-14 13:17:48 +00:00
- The logger object is now an attribute `` model.logger `` that be set by the user using `` model.set_logger() ``
- Changed the signature of `` logger.configure `` and `` utils.configure_logger `` , they now return a `` Logger `` object
- Removed `` Logger.CURRENT `` and `` Logger.DEFAULT ``
- Moved `` warn(), debug(), log(), info(), dump() `` methods to the `` Logger `` class
- `` .learn() `` now throws an import error when the user tries to log to tensorboard but the package is not installed
2021-03-19 23:50:43 +00:00
New Features:
^^^^^^^^^^^^^
2021-05-11 10:29:30 +00:00
- Added support for single-level `` Dict `` observation space (@JadenTravnik)
- Added `` DictRolloutBuffer `` `` DictReplayBuffer `` to support dictionary observations (@JadenTravnik)
- Added `` StackedObservations `` and `` StackedDictObservations `` that are used within `` VecFrameStack ``
- Added simple 4x4 room Dict test environments
- `` HerReplayBuffer `` now supports `` VecNormalize `` when `` online_sampling=False ``
2021-04-13 16:09:31 +00:00
- Added `VecMonitor <https://github.com/DLR-RM/stable-baselines3/blob/master/stable_baselines3/common/vec_env/vec_monitor.py> `_ and
`VecExtractDictObs <https://github.com/DLR-RM/stable-baselines3/blob/master/stable_baselines3/common/vec_env/vec_extract_dict_obs.py> `_ wrappers
to handle gym3-style vectorized environments (@vwxyzjn)
- Ignored the terminal observation if the it is not provided by the environment
such as the gym3-style vectorized environments. (@vwxyzjn)
2021-05-20 17:01:07 +00:00
- Added policy_base as input to the OnPolicyAlgorithm for more flexibility (@09tangriro)
2021-05-11 10:29:30 +00:00
- Added support for image observation when using `` HER ``
- Added `` replay_buffer_class `` and `` replay_buffer_kwargs `` arguments to off-policy algorithms
2021-05-20 17:01:07 +00:00
- Added `` kl_divergence `` helper for `` Distribution `` classes (@09tangriro)
2021-05-28 10:40:29 +00:00
- Added support for vector environments with `` num_envs > 1 `` (@benblack769)
2021-05-23 09:33:34 +00:00
- Added `` wrapper_kwargs `` argument to `` make_vec_env `` (@amy12xx)
2021-03-19 23:50:43 +00:00
Bug Fixes:
^^^^^^^^^^
2021-03-25 09:35:21 +00:00
- Fixed potential issue when calling off-policy algorithms with default arguments multiple times (the size of the replay buffer would be the same)
2021-04-15 12:50:43 +00:00
- Fixed loading of `` ent_coef `` for `` SAC `` and `` TQC `` , it was not optimized anymore (thanks @Atlis)
2021-04-19 10:23:02 +00:00
- Fixed saving of `` A2C `` and `` PPO `` policy when using gSDE (thanks @liusida)
2021-06-14 13:17:48 +00:00
- Fixed a bug where no output would be shown even if `` verbose>=1 `` after passing `` verbose=0 `` once
2021-06-22 11:41:26 +00:00
- Fixed observation buffers dtype in DictReplayBuffer (@c-rizz)
2021-07-01 13:43:08 +00:00
- Fixed EvalCallback tensorboard logs being logged with the incorrect timestep. They are now written with the timestep at which they were recorded. (@skandermoalla)
2021-03-19 23:50:43 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
2021-03-25 09:35:21 +00:00
- Added `` flake8-bugbear `` to tests dependencies to find likely bugs
2021-05-11 10:29:30 +00:00
- Updated `` env_checker `` to reflect support of dict observation spaces
2021-03-31 08:31:03 +00:00
- Added Code of Conduct
2021-04-16 13:52:55 +00:00
- Added tests for GAE and lambda return computation
2021-05-20 17:01:07 +00:00
- Updated distribution entropy test (thanks @09tangriro)
2021-05-23 11:13:11 +00:00
- Added sanity check `` batch_size > 1 `` in PPO to avoid NaN in advantage normalization
2021-03-19 23:50:43 +00:00
Documentation:
^^^^^^^^^^^^^^
- Added gym pybullet drones project (@JacopoPan)
2021-03-20 19:48:15 +00:00
- Added link to SuperSuit in projects (@justinkterry)
2021-03-31 08:31:03 +00:00
- Fixed DQN example (thanks @ltbd78)
2021-04-16 13:52:55 +00:00
- Clarified channel-first/channel-last recommendation
2021-04-10 12:04:37 +00:00
- Update sphinx environment installation instructions (@tom-doerr)
2021-04-16 13:52:55 +00:00
- Clarified pip installation in Zsh (@tom-doerr)
- Clarified return computation for on-policy algorithms (TD(lambda) estimate was used)
2021-04-13 16:09:31 +00:00
- Added example for using `` ProcgenEnv ``
2021-05-16 16:21:07 +00:00
- Added note about advanced custom policy example for off-policy algorithms
- Fixed DQN unicode checkmarks
2021-05-23 11:13:11 +00:00
- Updated migration guide (@juancroldan)
- Pinned `` docutils==0.16 `` to avoid issue with rtd theme
- Clarified callback `` save_freq `` definition
2021-06-14 13:17:48 +00:00
- Added doc on how to pass a custom logger
2021-06-07 17:39:49 +00:00
- Remove recurrent policies from `` A2C `` docs (@bstee615)
2021-05-23 11:13:11 +00:00
2021-03-19 23:50:43 +00:00
2021-03-17 13:20:31 +00:00
Release 1.0 (2021-03-15)
2021-03-19 23:50:43 +00:00
------------------------
2021-03-01 12:35:21 +00:00
2021-03-17 13:20:31 +00:00
**First Major Version**
2021-03-01 12:35:21 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
- Removed `` stable_baselines3.common.cmd_util `` (already deprecated), please use `` env_util `` instead
2021-03-17 13:20:31 +00:00
.. warning ::
A refactoring of the `` HER `` algorithm is planned together with support for dictionary observations
(see `PR #243 <https://github.com/DLR-RM/stable-baselines3/pull/243> `_ and `#351 <https://github.com/DLR-RM/stable-baselines3/pull/351> `_ )
This will be a backward incompatible change (model trained with previous version of `` HER `` won't work with the new version).
2021-03-06 13:17:43 +00:00
New Features:
^^^^^^^^^^^^^
- Added support for `` custom_objects `` when loading models
2021-04-13 16:09:31 +00:00
2021-05-11 10:29:30 +00:00
2021-03-06 13:17:43 +00:00
Bug Fixes:
^^^^^^^^^^
- Fixed a bug with `` DQN `` predict method when using `` deterministic=False `` with image space
2021-03-01 12:35:21 +00:00
Documentation:
^^^^^^^^^^^^^^
- Fixed examples
2021-03-01 23:10:57 +00:00
- Added new project using SB3: rl_reach (@PierreExeter)
2021-03-06 13:17:43 +00:00
- Added note about slow-down when switching to PyTorch
2021-03-05 16:05:14 +00:00
- Add a note on continual learning and resetting environment
2021-05-11 10:29:30 +00:00
Others:
^^^^^^^
2021-03-17 13:20:31 +00:00
- Updated RL-Zoo to reflect the fact that is it more than a collection of trained agents
- Added images to illustrate the training loop and custom policies (created with https://excalidraw.com/)
- Updated the custom policy section
2021-03-01 12:35:21 +00:00
2021-05-11 10:29:30 +00:00
2021-02-27 18:53:13 +00:00
Pre-Release 0.11.1 (2021-02-27)
-------------------------------
Bug Fixes:
^^^^^^^^^^
- Fixed a bug where `` train_freq `` was not properly converted when loading a saved model
2021-02-27 16:33:50 +00:00
Pre-Release 0.11.0 (2021-02-27)
2020-11-02 09:43:25 +00:00
-------------------------------
Breaking Changes:
^^^^^^^^^^^^^^^^^
2020-11-16 10:52:28 +00:00
- `` evaluate_policy `` now returns rewards/episode lengths from a `` Monitor `` wrapper if one is present,
this allows to return the unnormalized reward in the case of Atari games for instance.
- Renamed `` common.vec_env.is_wrapped `` to `` common.vec_env.is_vecenv_wrapped `` to avoid confusion
with the new `` is_wrapped() `` helper
2021-02-27 16:33:50 +00:00
- Renamed `` _get_data() `` to `` _get_constructor_parameters() `` for policies (this affects independent saving/loading of policies)
- Removed `` n_episodes_rollout `` and merged it with `` train_freq `` , which now accepts a tuple `` (frequency, unit) `` :
- `` replay_buffer `` in `` collect_rollout `` is no more optional
.. code-block :: python
# SB3 < 0.11.0
# model = SAC("MlpPolicy", env, n_episodes_rollout=1, train_freq=-1)
# SB3 >= 0.11.0:
model = SAC("MlpPolicy", env, train_freq=(1, "episode"))
2020-11-03 11:34:09 +00:00
2020-11-02 09:43:25 +00:00
New Features:
^^^^^^^^^^^^^
2020-11-03 11:34:09 +00:00
- Add support for `` VecFrameStack `` to stack on first or last observation dimension, along with
automatic check for image spaces.
- `` VecFrameStack `` now has a `` channels_order `` argument to tell if observations should be stacked
on the first or last observation dimension (originally always stacked on last).
2020-11-16 10:52:28 +00:00
- Added `` common.env_util.is_wrapped `` and `` common.env_util.unwrap_wrapper `` functions for checking/unwrapping
an environment for specific wrapper.
- Added `` env_is_wrapped() `` method for `` VecEnv `` to check if its environments are wrapped
with given Gym wrappers.
2020-11-20 09:28:54 +00:00
- Added `` monitor_kwargs `` parameter to `` make_vec_env `` and `` make_atari_env ``
2020-11-20 16:08:00 +00:00
- Wrap the environments automatically with a `` Monitor `` wrapper when possible.
2020-12-08 14:49:07 +00:00
- `` EvalCallback `` now logs the success rate when available (`` is_success `` must be present in the info dict)
2021-01-08 14:47:08 +00:00
- Added new wrappers to log images and matplotlib figures to tensorboard. (@zampanteymedio)
2021-02-01 10:56:33 +00:00
- Add support for text records to `` Logger `` . (@lorenz-h)
2020-11-02 09:43:25 +00:00
2021-05-11 10:29:30 +00:00
2020-11-02 09:43:25 +00:00
Bug Fixes:
^^^^^^^^^^
2020-11-03 11:34:09 +00:00
- Fixed bug where code added VecTranspose on channel-first image environments (thanks @qxcv)
2020-11-16 22:43:26 +00:00
- Fixed `` DQN `` predict method when using single `` gym.Env `` with `` deterministic=False ``
2020-11-16 15:27:46 +00:00
- Fixed bug that the arguments order of `` explained_variance() `` in `` ppo.py `` and `` a2c.py `` is not correct (@thisray)
2020-11-20 12:23:03 +00:00
- Fixed bug where full `` HerReplayBuffer `` leads to an index error. (@megan-klaiber)
2020-11-24 14:13:00 +00:00
- Fixed bug where replay buffer could not be saved if it was too big (> 4 Gb) for python<3.8 (thanks @hn2)
2021-01-11 16:03:32 +00:00
- Added informative `` PPO `` construction error in edge-case scenario where `` n_steps * n_envs = 1 `` (size of rollout buffer),
which otherwise causes downstream breaking errors in training (@decodyng)
2021-01-21 00:42:33 +00:00
- Fixed discrete observation space support when using multiple envs with A2C/PPO (thanks @ardabbour)
2021-02-27 16:33:50 +00:00
- Fixed a bug for TD3 delayed update (the update was off-by-one and not delayed when `` train_freq=1 `` )
2021-02-01 10:24:44 +00:00
- Fixed numpy warning (replaced `` np.bool `` with `` bool `` )
2021-02-27 16:33:50 +00:00
- Fixed a bug where `` VecNormalize `` was not normalizing the terminal observation
- Fixed a bug where `` VecTranspose `` was not transposing the terminal observation
- Fixed a bug where the terminal observation stored in the replay buffer was not the right one for off-policy algorithms
- Fixed a bug where `` action_noise `` was not used when using `` HER `` (thanks @ShangqunYu)
2020-11-02 09:43:25 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
- Add more issue templates
2020-12-10 20:48:11 +00:00
- Add signatures to callable type annotations (@ernestum)
2020-11-03 11:34:09 +00:00
- Improve error message in `` NatureCNN ``
2020-12-06 12:05:10 +00:00
- Added checks for supported action spaces to improve clarity of error messages for the user
2020-12-21 15:17:24 +00:00
- Renamed variables in the `` train() `` method of `` SAC `` , `` TD3 `` and `` DQN `` to match SB3-Contrib.
- Updated docker base image to Ubuntu 18.04
- Set tensorboard min version to 2.2.0 (earlier version are apparently not working with PyTorch)
2021-01-11 16:03:32 +00:00
- Added warning for `` PPO `` when `` n_steps * n_envs `` is not a multiple of `` batch_size `` (last mini-batch truncated) (@decodyng)
2021-01-21 00:42:33 +00:00
- Removed some warnings in the tests
2020-11-02 09:43:25 +00:00
Documentation:
^^^^^^^^^^^^^^
- Updated algorithm table
2020-11-02 10:45:08 +00:00
- Minor docstring improvements regarding rollout (@stheid)
2020-11-20 09:28:54 +00:00
- Fix migration doc for `` A2C `` (epsilon parameter)
- Fix `` clip_range `` docstring
- Fix duplicated parameter in `` EvalCallback `` docstring (thanks @tfederico)
2020-12-02 13:54:18 +00:00
- Added example of learning rate schedule
2020-12-13 16:15:45 +00:00
- Added SUMO-RL as example project (@LucasAlegre)
- Fix docstring of classes in atari_wrappers.py which were inside the constructor (@LucasAlegre)
2020-12-21 15:17:24 +00:00
- Added SB3-Contrib page
2021-01-04 12:24:38 +00:00
- Fix bug in the example code of DQN (@AptX395)
2021-02-01 10:56:33 +00:00
- Add example on how to access the tensorboard summary writer directly. (@lorenz-h)
2021-02-01 10:24:44 +00:00
- Updated migration guide
2021-02-06 17:19:58 +00:00
- Updated custom policy doc (separate policy architecture recommended)
- Added a note about OpenCV headless version
2021-02-19 18:18:41 +00:00
- Corrected typo on documentation (@mschweizer)
2021-02-27 15:24:39 +00:00
- Provide the environment when loading the model in the examples (@lorepieri8)
2020-10-07 08:51:49 +00:00
2021-02-01 10:56:33 +00:00
2020-10-28 12:01:56 +00:00
Pre-Release 0.10.0 (2020-10-28)
-------------------------------
**HER with online and offline sampling, bug fixes for features extraction**
2020-10-07 08:51:49 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
2020-10-22 09:05:52 +00:00
- **Warning:** Renamed `` common.cmd_util `` to `` common.env_util `` for clarity (affects `` make_vec_env `` and `` make_atari_env `` functions)
2020-10-07 08:51:49 +00:00
New Features:
^^^^^^^^^^^^^
2020-10-13 10:01:33 +00:00
- Allow custom actor/critic network architectures using `` net_arch=dict(qf=[400, 300], pi=[64, 64]) `` for off-policy algorithms (SAC, TD3, DDPG)
2020-10-22 09:56:43 +00:00
- Added Hindsight Experience Replay `` HER `` . (@megan-klaiber)
- `` VecNormalize `` now supports `` gym.spaces.Dict `` observation spaces
2020-10-22 09:33:58 +00:00
- Support logging videos to Tensorboard (@SwamyDev)
2020-10-27 13:24:59 +00:00
- Added `` share_features_extractor `` argument to `` SAC `` and `` TD3 `` policies
2020-10-07 08:51:49 +00:00
Bug Fixes:
^^^^^^^^^^
2020-10-12 21:10:54 +00:00
- Fix GAE computation for on-policy algorithms (off-by one for the last value) (thanks @Wovchena)
2020-10-22 09:56:43 +00:00
- Fixed potential issue when loading a different environment
2020-10-16 15:34:49 +00:00
- Fix ignoring the exclude parameter when recording logs using json, csv or log as logging format (@SwamyDev)
2020-10-16 09:09:19 +00:00
- Make `` make_vec_env `` support the `` env_kwargs `` argument when using an env ID str (@ManifoldFR)
2020-10-18 18:51:56 +00:00
- Fix model creation initializing CUDA even when `device="cpu"` is provided
2020-10-18 21:23:51 +00:00
- Fix `` check_env `` not checking if the env has a Dict actionspace before calling `` _check_nan `` (@wmmc88)
- Update the check for spaces unsupported by Stable Baselines 3 to include checks on the action space (@wmmc88)
2022-12-20 14:12:05 +00:00
- Fixed features extractor bug for target network where the same net was shared instead
of being separate. This bug affects `` SAC `` , `` DDPG `` and `` TD3 `` when using `` CnnPolicy `` (or custom features extractor)
2020-10-27 21:12:52 +00:00
- Fixed a bug when passing an environment when loading a saved model with a `` CnnPolicy `` , the passed env was not wrapped properly
(the bug was introduced when implementing `` HER `` so it should not be present in previous versions)
2020-10-07 08:51:49 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
- Improved typing coverage
- Improved error messages for unsupported spaces
2020-10-16 09:09:19 +00:00
- Added `` .vscode `` to the gitignore
2020-10-07 08:51:49 +00:00
Documentation:
^^^^^^^^^^^^^^
2020-10-11 21:22:12 +00:00
- Added first draft of migration guide
2020-10-24 16:33:26 +00:00
- Added intro to `imitation <https://github.com/HumanCompatibleAI/imitation> `_ library (@shwang)
2020-10-22 09:56:43 +00:00
- Enabled doc for `` CnnPolicies ``
2020-10-28 08:55:16 +00:00
- Added advanced saving and loading example
- Added base doc for exporting models
- Added example for getting and setting model parameters
2020-10-07 08:51:49 +00:00
2020-10-04 15:12:35 +00:00
Pre-Release 0.9.0 (2020-10-03)
2020-08-05 10:12:02 +00:00
------------------------------
2020-10-04 15:12:35 +00:00
**Bug fixes, get/set parameters and improved docs**
2020-08-05 10:12:02 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
2020-08-23 11:27:52 +00:00
- Removed `` device `` keyword argument of policies; use `` policy.to(device) `` instead. (@qxcv)
2020-10-11 21:22:12 +00:00
- Rename `` BaseClass.get_torch_variables `` -> `` BaseClass._get_torch_save_params `` and `` BaseClass.excluded_save_params `` -> `` BaseClass._excluded_save_params ``
2020-09-24 14:05:36 +00:00
- Renamed saved items `` tensors `` to `` pytorch_variables `` for clarity
2020-09-29 17:41:14 +00:00
- `` make_atari_env `` , `` make_vec_env `` and `` set_random_seed `` must be imported with (and not directly from `` stable_baselines3.common `` ):
.. code-block :: python
from stable_baselines3.common.cmd_util import make_atari_env, make_vec_env
from stable_baselines3.common.utils import set_random_seed
2020-08-05 10:12:02 +00:00
New Features:
^^^^^^^^^^^^^
- Added `` unwrap_vec_wrapper() `` to `` common.vec_env `` to extract `` VecEnvWrapper `` if needed
2020-08-28 09:36:33 +00:00
- Added `` StopTrainingOnMaxEpisodes `` to callback collection (@xicocaio)
2020-09-20 17:13:18 +00:00
- Added `` device `` keyword argument to `` BaseAlgorithm.load() `` (@liorcohen5)
2020-09-10 14:56:27 +00:00
- Callbacks have access to rollout collection locals as in SB2. (@PartiallyTyped)
2020-09-24 12:28:27 +00:00
- Added `` get_parameters `` and `` set_parameters `` for accessing/setting parameters of the agent
2020-09-23 20:40:41 +00:00
- Added actor/critic loss logging for TD3. (@mloo3)
2020-08-05 10:12:02 +00:00
Bug Fixes:
^^^^^^^^^^
2020-10-22 09:56:43 +00:00
- Added `` unwrap_vec_wrapper() `` to `` common.vec_env `` to extract `` VecEnvWrapper `` if needed
2020-08-05 10:12:02 +00:00
- Fixed a bug where the environment was reset twice when using `` evaluate_policy ``
2020-09-01 07:52:31 +00:00
- Fix logging of `` clip_fraction `` in PPO (@diditforlulz273)
2020-09-20 17:13:18 +00:00
- Fixed a bug where cuda support was wrongly checked when passing the GPU index, e.g., `` device="cuda:0" `` (@liorcohen5)
2020-09-24 12:28:27 +00:00
- Fixed a bug when the random seed was not properly set on cuda when passing the GPU index
2020-08-05 10:12:02 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
- Improve typing coverage of the `` VecEnv ``
2020-09-23 08:34:35 +00:00
- Fix type annotation of `` make_vec_env `` (@ManifoldFR)
2020-08-05 10:12:02 +00:00
- Removed `` AlreadySteppingError `` and `` NotSteppingError `` that were not used
2020-08-23 15:44:35 +00:00
- Fixed typos in SAC and TD3
2020-09-24 12:28:27 +00:00
- Reorganized functions for clarity in `` BaseClass `` (save/load functions close to each other, private
2020-10-11 21:22:12 +00:00
functions at top)
2020-09-24 12:28:27 +00:00
- Clarified docstrings on what is saved and loaded to/from files
- Simplified `` save_to_zip_file `` function by removing duplicate code
- Store library version along with the saved models
2020-10-04 15:12:35 +00:00
- DQN loss is now logged
2020-08-05 10:12:02 +00:00
Documentation:
^^^^^^^^^^^^^^
2020-08-28 09:36:33 +00:00
- Added `` StopTrainingOnMaxEpisodes `` details and example (@xicocaio)
2022-12-20 14:12:05 +00:00
- Updated custom policy section (added custom features extractor example)
2020-09-29 17:41:14 +00:00
- Re-enable `` sphinx_autodoc_typehints ``
2020-10-02 17:05:55 +00:00
- Updated doc style for type hints and remove duplicated type hints
2020-08-28 09:36:33 +00:00
2020-08-05 10:12:02 +00:00
2020-08-03 20:38:54 +00:00
Pre-Release 0.8.0 (2020-08-03)
2020-06-17 10:47:09 +00:00
------------------------------
2020-08-03 20:38:54 +00:00
**DQN, DDPG, bug fixes and performance matching for Atari games**
2020-06-17 10:47:09 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
2020-06-29 09:16:54 +00:00
- `` AtariWrapper `` and other Atari wrappers were updated to match SB2 ones
2020-06-17 12:00:49 +00:00
- `` save_replay_buffer `` now receives as argument the file path instead of the folder path (@tirafesi)
2020-07-06 22:02:51 +00:00
- Refactored `` Critic `` class for `` TD3 `` and `` SAC `` , it is now called `` ContinuousCritic ``
and has an additional parameter `` n_critics ``
2020-07-16 12:14:22 +00:00
- `` SAC `` and `` TD3 `` now accept an arbitrary number of critics (e.g. `` policy_kwargs=dict(n_critics=3) `` )
2020-10-11 21:22:12 +00:00
instead of only 2 previously
2020-06-17 10:47:09 +00:00
New Features:
^^^^^^^^^^^^^
2020-06-29 09:16:54 +00:00
- Added `` DQN `` Algorithm (@Artemis-Skade)
- Buffer dtype is now set according to action and observation spaces for `` ReplayBuffer ``
- Added warning when allocation of a buffer may exceed the available memory of the system
when `` psutil `` is available
2020-07-02 22:14:21 +00:00
- Saving models now automatically creates the necessary folders and raises appropriate warnings (@PartiallyTyped)
- Refactored opening paths for saving and loading to use strings, pathlib or io.BufferedIOBase (@PartiallyTyped)
2020-07-16 12:14:22 +00:00
- Added `` DDPG `` algorithm as a special case of `` TD3 `` .
2020-07-08 02:03:46 +00:00
- Introduced `` BaseModel `` abstract parent for `` BasePolicy `` , which critics inherit from.
2020-06-17 10:47:09 +00:00
Bug Fixes:
^^^^^^^^^^
2020-06-20 16:01:37 +00:00
- Fixed a bug in the `` close() `` method of `` SubprocVecEnv `` , causing wrappers further down in the wrapper stack to not be closed. (@NeoExtended)
2020-06-29 15:58:55 +00:00
- Fix target for updating q values in SAC: the entropy term was not conditioned by terminals states
2020-07-21 08:12:39 +00:00
- Use `` cloudpickle.load `` instead of `` pickle.load `` in `` CloudpickleWrapper `` . (@shwang)
2020-07-25 20:35:48 +00:00
- Fixed a bug with orthogonal initialization when `bias=False` in custom policy (@rk37)
2020-07-29 19:19:41 +00:00
- Fixed approximate entropy calculation in PPO and A2C. (@andyshih12)
2022-12-20 14:12:05 +00:00
- Fixed DQN target network sharing features extractor with the main network.
2020-08-03 20:22:51 +00:00
- Fixed storing correct `` dones `` in on-policy algorithm rollout collection. (@andyshih12)
- Fixed number of filters in final convolutional layer in NatureCNN to match original implementation.
2020-06-17 10:47:09 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
2020-06-29 09:16:54 +00:00
- Refactored off-policy algorithm to share the same `` .learn() `` method
- Split the `` collect_rollout() `` method for off-policy algorithms
- Added `` _on_step() `` for off-policy base class
- Optimized replay buffer size by removing the need of `` next_observations `` numpy array
2020-07-17 13:53:28 +00:00
- Optimized polyak updates (1.5-1.95 speedup) through inplace operations (@PartiallyTyped)
2020-07-16 14:12:16 +00:00
- Switch to `` black `` codestyle and added `` make format `` , `` make check-codestyle `` and `` commit-checks ``
2020-07-16 09:54:37 +00:00
- Ignored errors from newer pytype version
2020-07-16 12:14:22 +00:00
- Added a check when using `` gSDE ``
2020-07-16 14:12:16 +00:00
- Removed codacy dependency from Dockerfile
2020-08-03 20:22:51 +00:00
- Added `` common.sb2_compat.RMSpropTFLike `` optimizer, which corresponds closer to the implementation of RMSprop from Tensorflow.
2020-06-17 10:47:09 +00:00
Documentation:
^^^^^^^^^^^^^^
- Updated notebook links
2020-06-25 10:14:56 +00:00
- Fixed a typo in the section of Enjoy a Trained Agent, in RL Baselines3 Zoo README. (@blurLake)
2020-06-30 13:03:02 +00:00
- Added Unity reacher to the projects page (@koulakis)
2020-07-06 22:02:51 +00:00
- Added PyBullet colab notebook
2020-07-10 08:38:35 +00:00
- Fixed typo in PPO example code (@joeljosephjin)
2020-07-31 09:10:48 +00:00
- Fixed typo in custom policy doc (@RaphaelWag)
2020-06-17 10:47:09 +00:00
2020-06-04 09:22:12 +00:00
2020-06-10 16:58:35 +00:00
Pre-Release 0.7.0 (2020-06-10)
2020-06-04 09:22:12 +00:00
------------------------------
2020-06-10 16:58:35 +00:00
**Hotfix for PPO/A2C + gSDE, internal refactoring and bug fixes**
2020-06-04 09:22:12 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
- `` render() `` method of `` VecEnvs `` now only accept one argument: `` mode ``
2020-06-09 11:54:18 +00:00
- Created new file common/torch_layers.py, similar to SB refactoring
2020-06-10 16:58:35 +00:00
2022-12-20 14:12:05 +00:00
- Contains all PyTorch network layer definitions and features extractors: `` MlpExtractor `` , `` create_mlp `` , `` NatureCNN ``
2020-06-04 09:22:12 +00:00
2020-06-09 11:54:18 +00:00
- Renamed `` BaseRLModel `` to `` BaseAlgorithm `` (along with offpolicy and onpolicy variants)
- Moved on-policy and off-policy base algorithms to `` common/on_policy_algorithm.py `` and `` common/off_policy_algorithm.py `` , respectively.
2020-06-10 16:58:35 +00:00
- Moved `` PPOPolicy `` to `` ActorCriticPolicy `` in common/policies.py
2020-06-09 11:54:18 +00:00
- Moved `` PPO `` (algorithm class) into `` OnPolicyAlgorithm `` (`` common/on_policy_algorithm.py `` ), to be shared with A2C
2020-06-10 16:58:35 +00:00
- Moved following functions from `` BaseAlgorithm `` :
2020-06-09 11:54:18 +00:00
- `` _load_from_file `` to `` load_from_zip_file `` (save_util.py)
- `` _save_to_file_zip `` to `` save_to_zip_file `` (save_util.py)
- `` safe_mean `` to `` safe_mean `` (utils.py)
- `` check_env `` to `` check_for_correct_spaces `` (utils.py. Renamed to avoid confusion with environment checker tools)
- Moved static function `` _is_vectorized_observation `` from common/policies.py to common/utils.py under name `` is_vectorized_observation `` .
2020-06-10 10:09:04 +00:00
- Removed `` {save,load}_running_average `` functions of `` VecNormalize `` in favor of `` load/save `` .
- Removed `` use_gae `` parameter from `` RolloutBuffer.compute_returns_and_advantage `` .
2020-06-10 16:58:35 +00:00
2020-06-04 09:22:12 +00:00
New Features:
^^^^^^^^^^^^^
Bug Fixes:
^^^^^^^^^^
- Fixed `` render() `` method for `` VecEnvs ``
2020-06-09 11:54:18 +00:00
- Fixed `` seed() `` method for `` SubprocVecEnv ``
2020-06-08 09:15:10 +00:00
- Fixed loading on GPU for testing when using gSDE and `` deterministic=False ``
2020-06-09 11:54:18 +00:00
- Fixed `` register_policy `` to allow re-registering same policy for same sub-class (i.e. assign same value to same key).
2020-06-10 16:58:35 +00:00
- Fixed a bug where the gradient was passed when using `` gSDE `` with `` PPO `` /`` A2C `` , this does not affect `` SAC ``
2020-06-04 09:22:12 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
- Re-enable unsafe `` fork `` start method in the tests (was causing a deadlock with tensorflow)
2020-06-09 11:54:18 +00:00
- Added a test for seeding `` SubprocVecEnv `` and rendering
- Fixed reference in NatureCNN (pointed to older version with different network architecture)
- Fixed comments saying "CxWxH" instead of "CxHxW" (same style as in torch docs / commonly used)
- Added bit further comments on register/getting policies ("MlpPolicy", "CnnPolicy").
- Renamed `` progress `` (value from 1 in start of training to 0 in end) to `` progress_remaining `` .
- Added `` policies.py `` files for A2C/PPO, which define MlpPolicy/CnnPolicy (renamed ActorCriticPolicies).
2020-06-10 10:09:04 +00:00
- Added some missing tests for `` VecNormalize `` , `` VecCheckNan `` and `` PPO `` .
2020-06-04 09:22:12 +00:00
Documentation:
^^^^^^^^^^^^^^
2020-06-09 11:54:18 +00:00
- Added a paragraph on "MlpPolicy"/"CnnPolicy" and policy naming scheme under "Developer Guide"
- Fixed second-level listing in changelog
2020-06-04 09:22:12 +00:00
2020-06-17 10:47:09 +00:00
2020-06-01 11:09:47 +00:00
Pre-Release 0.6.0 (2020-06-01)
2020-05-05 14:28:38 +00:00
------------------------------
2020-06-01 11:09:47 +00:00
**Tensorboard support, refactored logger**
2020-05-05 14:28:38 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
2020-05-08 13:00:34 +00:00
- Remove State-Dependent Exploration (SDE) support for `` TD3 ``
2020-06-01 09:55:44 +00:00
- Methods were renamed in the logger:
2020-06-10 16:58:35 +00:00
2020-06-01 09:55:44 +00:00
- `` logkv `` -> `` record `` , `` writekvs `` -> `` write `` , `` writeseq `` -> `` write_sequence `` ,
- `` logkvs `` -> `` record_dict `` , `` dumpkvs `` -> `` dump `` ,
- `` getkvs `` -> `` get_log_dict `` , `` logkv_mean `` -> `` record_mean `` ,
2020-05-05 14:28:38 +00:00
New Features:
^^^^^^^^^^^^^
- Added env checker (Sync with Stable Baselines)
- Added `` VecCheckNan `` and `` VecVideoRecorder `` (Sync with Stable Baselines)
2020-05-05 14:54:33 +00:00
- Added determinism tests
2020-05-19 08:19:16 +00:00
- Added `` cmd_util `` and `` atari_wrappers ``
2020-05-18 12:42:13 +00:00
- Added support for `` MultiDiscrete `` and `` MultiBinary `` observation spaces (@rolandgvc)
- Added `` MultiCategorical `` and `` Bernoulli `` distributions for PPO/A2C (@rolandgvc)
2020-06-01 09:55:44 +00:00
- Added support for logging to tensorboard (@rolandgvc)
2020-05-27 07:53:01 +00:00
- Added `` VectorizedActionNoise `` for continuous vectorized environments (@PartiallyTyped)
2020-06-01 09:55:44 +00:00
- Log evaluation in the `` EvalCallback `` using the logger
2020-05-05 14:28:38 +00:00
Bug Fixes:
^^^^^^^^^^
2020-05-05 15:21:56 +00:00
- Fixed a bug that prevented model trained on cpu to be loaded on gpu
2020-05-07 14:08:23 +00:00
- Fixed version number that had a new line included
2020-05-09 21:10:49 +00:00
- Fixed weird seg fault in docker image due to FakeImageEnv by reducing screen size
2020-05-24 14:44:44 +00:00
- Fixed `` sde_sample_freq `` that was not taken into account for SAC
2020-06-01 09:55:44 +00:00
- Pass logger module to `` BaseCallback `` otherwise they cannot write in the one used by the algorithms
2020-05-05 14:28:38 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
- Renamed to Stable-Baseline3
2020-05-07 14:08:23 +00:00
- Added Dockerfile
- Sync `` VecEnvs `` with Stable-Baselines
2020-05-08 10:43:42 +00:00
- Update requirement: `` gym>=0.17 ``
2020-05-11 10:28:43 +00:00
- Added `` .readthedoc.yml `` file
2020-05-12 15:55:01 +00:00
- Added `` flake8 `` and `` make lint `` command
- Added Github workflow
2020-06-01 11:09:47 +00:00
- Added warning when passing both `` train_freq `` and `` n_episodes_rollout `` to Off-Policy Algorithms
2020-05-05 14:28:38 +00:00
Documentation:
^^^^^^^^^^^^^^
2020-05-07 08:10:51 +00:00
- Added most documentation (adapted from Stable-Baselines)
2020-05-09 11:01:15 +00:00
- Added link to CONTRIBUTING.md in the README (@kinalmehta)
2020-05-15 11:54:06 +00:00
- Added gSDE project and update docstrings accordingly
2020-06-01 08:37:42 +00:00
- Fix `` TD3 `` example code block
2020-05-05 14:28:38 +00:00
2020-05-05 12:49:32 +00:00
Pre-Release 0.5.0 (2020-05-05)
2020-03-20 09:09:09 +00:00
------------------------------
2020-05-05 12:49:32 +00:00
**CnnPolicy support for image observations, complete saving/loading for policies**
2020-03-20 09:09:09 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
2020-04-20 13:59:44 +00:00
- Previous loading of policy weights is broken and replace by the new saving/loading for policy
2020-03-20 09:09:09 +00:00
New Features:
^^^^^^^^^^^^^
2020-04-22 11:14:22 +00:00
- Added `` optimizer_class `` and `` optimizer_kwargs `` to `` policy_kwargs `` in order to easily
2020-04-17 13:13:45 +00:00
customizer optimizers
2020-04-20 13:59:44 +00:00
- Complete independent save/load for policies
2020-04-22 11:14:22 +00:00
- Add `` CnnPolicy `` and `` VecTransposeImage `` to support images as input
2020-04-20 13:59:44 +00:00
2020-03-20 09:09:09 +00:00
Bug Fixes:
^^^^^^^^^^
2020-04-17 13:13:45 +00:00
- Fixed `` reset_num_timesteps `` behavior, so `` env.reset() `` is not called if `` reset_num_timesteps=True ``
2020-04-20 13:43:11 +00:00
- Fixed `` squashed_output `` that was not pass to policy constructor for `` SAC `` and `` TD3 `` (would result in scaled actions for unscaled action spaces)
2020-03-20 09:09:09 +00:00
Deprecations:
^^^^^^^^^^^^^
Others:
^^^^^^^
2020-04-17 13:13:45 +00:00
- Cleanup rollout return
2020-04-20 13:43:11 +00:00
- Added `` get_device `` util to manage PyTorch devices
2020-05-05 12:49:32 +00:00
- Added type hints to logger + use f-strings
2020-03-20 09:09:09 +00:00
Documentation:
^^^^^^^^^^^^^^
2020-04-17 13:13:45 +00:00
Pre-Release 0.4.0 (2020-02-14)
2020-04-17 10:36:27 +00:00
------------------------------
2020-04-17 13:13:45 +00:00
**Proper pre-processing, independent save/load for policies**
2020-04-17 10:36:27 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
2020-04-17 13:13:45 +00:00
- Removed CEMRL
- Model saved with previous versions cannot be loaded (because of the pre-preprocessing)
2020-04-17 10:36:27 +00:00
New Features:
^^^^^^^^^^^^^
2020-04-17 13:13:45 +00:00
- Add support for `` Discrete `` observation spaces
- Add saving/loading for policy weights, so the policy can be used without the model
2020-04-17 10:36:27 +00:00
Bug Fixes:
^^^^^^^^^^
2020-04-17 13:13:45 +00:00
- Fix type hint for activation functions
Deprecations:
^^^^^^^^^^^^^
2020-04-17 10:36:27 +00:00
Others:
^^^^^^^
2020-04-17 13:13:45 +00:00
- Refactor handling of observation and action spaces
- Refactored features extraction to have proper preprocessing
- Refactored action distributions
2020-04-17 10:36:27 +00:00
2020-02-14 13:39:24 +00:00
2020-03-19 10:11:36 +00:00
Pre-Release 0.3.0 (2020-02-14)
2020-01-20 15:19:35 +00:00
------------------------------
2019-09-26 09:46:40 +00:00
2020-03-19 10:11:36 +00:00
**Bug fixes, sync with Stable-Baselines, code cleanup**
2020-02-14 13:39:24 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
2020-03-10 16:43:54 +00:00
- Removed default seed
- Bump dependencies (PyTorch and Gym)
2020-03-18 14:11:19 +00:00
- `` predict() `` now returns a tuple to match Stable-Baselines behavior
2020-02-14 13:39:24 +00:00
New Features:
^^^^^^^^^^^^^
2020-03-13 10:43:12 +00:00
- Better logging for `` SAC `` and `` PPO ``
2020-02-14 13:39:24 +00:00
Bug Fixes:
^^^^^^^^^^
2020-03-12 11:34:25 +00:00
- Synced callbacks with Stable-Baselines
2020-03-19 10:11:36 +00:00
- Fixed colors in `` results_plotter ``
2020-03-19 09:19:48 +00:00
- Fix entropy computation (now summed over action dim)
2020-02-14 13:39:24 +00:00
Others:
^^^^^^^
2020-02-21 13:50:28 +00:00
- SAC with SDE now sample only one matrix
2020-03-09 18:05:22 +00:00
- Added `` clip_mean `` parameter to SAC policy
2020-03-10 15:55:13 +00:00
- Buffers now return `` NamedTuple ``
2020-03-10 16:43:54 +00:00
- More typing
2020-03-11 15:35:13 +00:00
- Add test for `` expln ``
2020-03-16 13:01:32 +00:00
- Renamed `` learning_rate `` to `` lr_schedule ``
2020-03-18 14:11:19 +00:00
- Add `` version.txt ``
2020-03-19 09:19:48 +00:00
- Add more tests for distribution
2020-02-14 13:39:24 +00:00
Documentation:
^^^^^^^^^^^^^^
2020-03-16 13:01:32 +00:00
- Deactivated `` sphinx_autodoc_typehints `` extension
2020-02-14 13:39:24 +00:00
Pre-Release 0.2.0 (2020-02-14)
------------------------------
**Python 3.6+ required, type checking, callbacks, doc build**
2019-09-26 09:46:40 +00:00
Breaking Changes:
^^^^^^^^^^^^^^^^^
2020-05-05 13:02:35 +00:00
- Python 2 support was dropped, Stable Baselines3 now requires Python 3.6 or above
2020-03-09 18:05:22 +00:00
- Return type of `` evaluation.evaluate_policy() `` has been changed
2020-02-03 14:50:40 +00:00
- Refactored the replay buffer to avoid transformation between PyTorch and NumPy
2020-02-05 12:10:02 +00:00
- Created `OffPolicyRLModel` base class
2020-02-14 12:42:16 +00:00
- Remove deprecated JSON format for `Monitor`
2019-09-26 09:46:40 +00:00
New Features:
^^^^^^^^^^^^^
2020-03-09 18:05:22 +00:00
- Add `` seed() `` method to `` VecEnv `` class
2020-01-27 13:32:31 +00:00
- Add support for Callback (cf https://github.com/hill-a/stable-baselines/pull/644)
2020-02-05 12:10:02 +00:00
- Add methods for saving and loading replay buffer
2020-03-09 18:05:22 +00:00
- Add `` extend() `` method to the buffers
- Add `` get_vec_normalize_env() `` to `` BaseRLModel `` to retrieve `` VecNormalize `` wrapper when it exists
- Add `` results_plotter `` from Stable Baselines
- Improve `` predict() `` method to handle different type of observations (single, vectorized, ...)
2019-09-26 09:46:40 +00:00
Bug Fixes:
^^^^^^^^^^
2020-01-31 12:06:55 +00:00
- Fix loading model on CPU that were trained on GPU
2020-03-09 18:05:22 +00:00
- Fix `` reset_num_timesteps `` that was not used
2020-02-11 16:22:03 +00:00
- Fix entropy computation for squashed Gaussian (approximate it now)
- Fix seeding when using multiple environments (different seed per env)
2019-09-26 09:46:40 +00:00
2020-01-20 15:19:35 +00:00
Others:
^^^^^^^
2020-01-22 16:23:42 +00:00
- Add type check
- Converted all format string to f-strings
2020-03-09 18:05:22 +00:00
- Add test for `` OrnsteinUhlenbeckActionNoise ``
- Add type aliases in `` common.type_aliases ``
2020-01-20 15:19:35 +00:00
Documentation:
^^^^^^^^^^^^^^
- fix documentation build
Pre-Release 0.1.0 (2020-01-20)
------------------------------
**First Release: base algorithms and state-dependent exploration**
New Features:
^^^^^^^^^^^^^
2020-03-09 18:05:22 +00:00
- Initial release of A2C, CEM-RL, PPO, SAC and TD3, working only with `` Box `` input space
2020-01-20 15:19:35 +00:00
- State-Dependent Exploration (SDE) for A2C, PPO, SAC and TD3
2019-09-26 09:46:40 +00:00
Maintainers
-----------
2020-05-05 14:28:38 +00:00
Stable-Baselines3 is currently maintained by `Antonin Raffin`_ (aka `@araffin`_ ), `Ashley Hill`_ (aka @hill-a),
2022-08-17 07:55:40 +00:00
`Maximilian Ernestus`_ (aka @ernestum), `Adam Gleave`_ (`@AdamGleave`_ ), `Anssi Kanervisto`_ (aka `@Miffyli`_ )
and `Quentin Gallouédec`_ (aka @qgallouedec).
2019-09-26 09:46:40 +00:00
2020-05-05 14:28:38 +00:00
.. _Ashley Hill: https://github.com/hill-a
2019-09-26 09:46:40 +00:00
.. _Antonin Raffin: https://araffin.github.io/
2020-12-10 20:48:11 +00:00
.. _Maximilian Ernestus: https://github.com/ernestum
2020-05-05 14:28:38 +00:00
.. _Adam Gleave: https://gleave.me/
2019-09-26 09:46:40 +00:00
.. _@araffin: https://github.com/araffin
2020-05-05 14:28:38 +00:00
.. _@AdamGleave: https://github.com/adamgleave
.. _Anssi Kanervisto: https://github.com/Miffyli
.. _@Miffyli: https://github.com/Miffyli
2022-08-17 07:55:40 +00:00
.. _Quentin Gallouédec: https://gallouedec.com/
.. _@qgallouedec: https://github.com/qgallouedec
2019-09-26 09:46:40 +00:00
2023-01-05 08:59:36 +00:00
.. _SB3-Contrib: https://github.com/Stable-Baselines-Team/stable-baselines3-contrib
.. _RL Zoo: https://github.com/DLR-RM/rl-baselines3-zoo
2023-09-12 09:28:32 +00:00
.. _SBX: https://github.com/araffin/sbx
2019-09-26 09:46:40 +00:00
Contributors:
-------------
In random order...
2020-03-09 18:05:22 +00:00
Thanks to the maintainers of V2: @hill-a @enerijunior @AdamGleave @Miffyli
And all the contributors:
2022-11-07 14:38:41 +00:00
@taymuur @bjmuld @iambenzo @iandanforth @r7vme @brendenpetersen @huvar @abhiskk @JohannesAck
2020-03-09 18:05:22 +00:00
@EliasHasle @mrakgr @Bleyddyn @antoine-galataud @junhyeokahn @AdamGleave @keshaviyengar @tperol
@XMaster96 @kantneel @Pastafarianist @GerardMaggiolino @PatrickWalter214 @yutingsz @sc420 @Aaahh @billtubbs
@Miffyli @dwiel @miguelrass @qxcv @jaberkow @eavelardev @ruifeng96150 @pedrohbtp @srivatsankrishnan @evilsocket
2020-11-02 10:45:08 +00:00
@MarvineGothic @jdossgollin @stheid @SyllogismRXS @rusu24edward @jbulow @Antymon @seheevic @justinkterry @edbeeching
2020-06-01 08:37:42 +00:00
@flodorner @KuKuXia @NeoExtended @PartiallyTyped @mmcenta @richardwu @kinalmehta @rolandgvc @tkelestemur @mloo3
2020-08-28 09:36:33 +00:00
@tirafesi @blurLake @koulakis @joeljosephjin @shwang @rk37 @andyshih12 @RaphaelWag @xicocaio
2020-11-16 15:27:46 +00:00
@diditforlulz273 @liorcohen5 @ManifoldFR @mloo3 @SwamyDev @wmmc88 @megan-klaiber @thisray
2021-05-11 10:29:30 +00:00
@tfederico @hn2 @LucasAlegre @AptX395 @zampanteymedio @JadenTravnik @decodyng @ardabbour @lorenz-h @mschweizer @lorepieri8 @vwxyzjn
2021-11-02 11:52:26 +00:00
@ShangqunYu @PierreExeter @JacopoPan @ltbd78 @tom-doerr @Atlis @liusida @09tangriro @amy12xx @juancroldan
@benblack769 @bstee615 @c-rizz @skandermoalla @MihaiAnca13 @davidblom603 @ayeright @cyprienc
@wkirgsn @AechPro @CUN-bjy @batu @IljaAvadiev @timokau @kachayev @cleversonahum
2022-01-19 16:17:22 +00:00
@eleurent @ac-93 @cove9988 @theDebugger811 @hsuehch @Demetrio92 @thomasgubler @IperGiove @ScheiklP
2022-03-15 20:48:52 +00:00
@simoninithomas @armandpl @manuel-delverme @Gautam-J @gianlucadecola @buoyancy99 @caburu @xy9485
2022-07-04 13:08:54 +00:00
@Gregwar @ycheng517 @quantitative-technologies @bcollazo @git-thor @TibiGG @cool-RR @MWeltevrede
2023-08-02 14:43:45 +00:00
@carlosluis @arjun-kg @tlpss @JonathanKuelz @Gabo-Tor
2023-04-14 11:13:59 +00:00
@Melanol @qgallouedec @francescoluciano @jlp-ue @burakdmb @timothe-chaumont @honglu2875
2022-11-29 22:33:46 +00:00
@anand-bala @hughperkins @sidney-tio @AlexPasqua @dominicgkerr @Akhilez @Rocamonde @tobirohrer @ZikangXiong
2023-04-27 17:07:53 +00:00
@DavyMorgan @luizapozzobon @Bonifatius94 @theSquaredError @harveybellini @DavyMorgan @FieteO @jonasreiher @npit @WeberSamuel @troiganto
2023-09-24 10:36:52 +00:00
@lutogniew @lbergmann1 @lukashass @BertrandDecoster @pseudo-rnd-thoughts @stefanbschneider @kyle-he @PatrickHelm @corentinlger