Release v1.8.0 (#173)
This commit is contained in:
parent
aacded79c5
commit
a84ad3aa7d
|
|
@ -3,9 +3,17 @@
|
|||
Changelog
|
||||
==========
|
||||
|
||||
Release 1.8.0a14 (WIP)
|
||||
Release 1.8.0 (2023-04-07)
|
||||
--------------------------
|
||||
|
||||
.. 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>`_.
|
||||
|
||||
|
||||
Breaking Changes:
|
||||
^^^^^^^^^^^^^^^^^
|
||||
- Removed shared layers in ``mlp_extractor`` (@AlexPasqua)
|
||||
|
|
@ -23,10 +31,11 @@ Deprecations:
|
|||
|
||||
Others:
|
||||
^^^^^^^
|
||||
- Moved to pyproject.toml (except flake8)
|
||||
- Moved to pyproject.toml
|
||||
- Added github issue forms
|
||||
- Fixed Atari Roms download in CI
|
||||
- Fixed ``sb3_contrib/qrdqn/*.py`` type hints
|
||||
- Switched from ``flake8`` to ``ruff``
|
||||
|
||||
Documentation:
|
||||
^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -270,12 +270,6 @@ class MaskableActorCriticPolicy(BasePolicy):
|
|||
:return: the model's action and the next state
|
||||
(used in recurrent policies)
|
||||
"""
|
||||
# TODO (GH/1): add support for RNN policies
|
||||
# if state is None:
|
||||
# state = self.initial_state
|
||||
# if episode_start is None:
|
||||
# episode_start = [False for _ in range(self.n_envs)]
|
||||
|
||||
# Switch to eval mode (this affects batch norm / dropout)
|
||||
self.set_training_mode(False)
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
1.8.0a14
|
||||
1.8.0
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -65,7 +65,7 @@ setup(
|
|||
packages=[package for package in find_packages() if package.startswith("sb3_contrib")],
|
||||
package_data={"sb3_contrib": ["py.typed", "version.txt"]},
|
||||
install_requires=[
|
||||
"stable_baselines3>=1.8.0a14",
|
||||
"stable_baselines3>=1.8.0,<2.0",
|
||||
],
|
||||
description="Contrib package of Stable Baselines3, experimental code.",
|
||||
author="Antonin Raffin",
|
||||
|
|
|
|||
Loading…
Reference in New Issue