File tree 4 files changed +13
-10
lines changed
4 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 3
3
Changelog
4
4
==========
5
5
6
- Release 1.8.0a14 (WIP )
6
+ Release 1.8.0 (2023-04-07 )
7
7
--------------------------
8
8
9
+ .. warning ::
10
+
11
+ Stable-Baselines3 (SB3) v1.8.0 will be the last one to use Gym as a backend.
12
+ Starting with v2.0.0, Gymnasium will be the default backend (though SB3 will have compatibility layers for Gym envs).
13
+ You can find a migration guide here: https://gymnasium.farama.org/content/migration-guide/.
14
+ 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 >`_.
15
+
16
+
9
17
Breaking Changes:
10
18
^^^^^^^^^^^^^^^^^
11
19
- Removed shared layers in ``mlp_extractor `` (@AlexPasqua)
@@ -23,10 +31,11 @@ Deprecations:
23
31
24
32
Others:
25
33
^^^^^^^
26
- - Moved to pyproject.toml (except flake8)
34
+ - Moved to pyproject.toml
27
35
- Added github issue forms
28
36
- Fixed Atari Roms download in CI
29
37
- Fixed ``sb3_contrib/qrdqn/*.py `` type hints
38
+ - Switched from ``flake8 `` to ``ruff ``
30
39
31
40
Documentation:
32
41
^^^^^^^^^^^^^^
Original file line number Diff line number Diff line change @@ -270,12 +270,6 @@ def predict(
270
270
:return: the model's action and the next state
271
271
(used in recurrent policies)
272
272
"""
273
- # TODO (GH/1): add support for RNN policies
274
- # if state is None:
275
- # state = self.initial_state
276
- # if episode_start is None:
277
- # episode_start = [False for _ in range(self.n_envs)]
278
-
279
273
# Switch to eval mode (this affects batch norm / dropout)
280
274
self .set_training_mode (False )
281
275
Original file line number Diff line number Diff line change 1
- 1.8.0a14
1
+ 1.8.0
Original file line number Diff line number Diff line change 65
65
packages = [package for package in find_packages () if package .startswith ("sb3_contrib" )],
66
66
package_data = {"sb3_contrib" : ["py.typed" , "version.txt" ]},
67
67
install_requires = [
68
- "stable_baselines3>=1.8.0a14 " ,
68
+ "stable_baselines3>=1.8.0,<2.0 " ,
69
69
],
70
70
description = "Contrib package of Stable Baselines3, experimental code." ,
71
71
author = "Antonin Raffin" ,
You can’t perform that action at this time.
0 commit comments