mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-11-17 08:56:08 +00:00
Fix typo in changelog (#1882)
This commit is contained in:
parent
429be93c48
commit
40ba50467c
1 changed files with 2 additions and 2 deletions
|
|
@ -32,9 +32,9 @@ Breaking Changes:
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
# SB3 < 2.3.0 default hyperparameters, 50_000 corresponded to Atari defaults hyperparameters
|
# SB3 < 2.3.0 default hyperparameters, 50_000 corresponded to Atari defaults hyperparameters
|
||||||
# model = DQN("MlpPolicy", env, learning_start=50_000)
|
# model = DQN("MlpPolicy", env, learning_starts=50_000)
|
||||||
# SB3 >= 2.3.0:
|
# SB3 >= 2.3.0:
|
||||||
model = DQN("MlpPolicy", env, learning_start=100)
|
model = DQN("MlpPolicy", env, learning_starts=100)
|
||||||
|
|
||||||
- For safety, ``torch.load()`` is now called with ``weights_only=True`` when loading torch tensors,
|
- For safety, ``torch.load()`` is now called with ``weights_only=True`` when loading torch tensors,
|
||||||
policy ``load()`` still uses ``weights_only=False`` as gymnasium imports are required for it to work
|
policy ``load()`` still uses ``weights_only=False`` as gymnasium imports are required for it to work
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue