mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-11-18 09:54:10 +00:00
parent
e3b24829a5
commit
aee0ba03c7
3 changed files with 6 additions and 3 deletions
|
|
@ -4,7 +4,7 @@ Changelog
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
|
||||||
Release 1.7.0a2 (WIP)
|
Release 1.7.0a3 (WIP)
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
Breaking Changes:
|
Breaking Changes:
|
||||||
|
|
@ -37,10 +37,13 @@ Others:
|
||||||
^^^^^^^
|
^^^^^^^
|
||||||
- Used issue forms instead of issue templates
|
- Used issue forms instead of issue templates
|
||||||
- Fixed flake8 config to be compatible with flake8 6+
|
- Fixed flake8 config to be compatible with flake8 6+
|
||||||
|
- 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
|
||||||
|
|
||||||
Documentation:
|
Documentation:
|
||||||
^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^
|
||||||
- Updated Hugging Face Integration page (@simoninithomas)
|
- Updated Hugging Face Integration page (@simoninithomas)
|
||||||
|
- Changed ``env`` to ``vec_env`` when environment is vectorized
|
||||||
|
|
||||||
Release 1.6.2 (2022-10-10)
|
Release 1.6.2 (2022-10-10)
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ This example is only to demonstrate the use of the library and its functions, an
|
||||||
|
|
||||||
from stable_baselines3 import DQN
|
from stable_baselines3 import DQN
|
||||||
|
|
||||||
env = gym.make("CartPole-v0")
|
env = gym.make("CartPole-v1")
|
||||||
|
|
||||||
model = DQN("MlpPolicy", env, verbose=1)
|
model = DQN("MlpPolicy", env, verbose=1)
|
||||||
model.learn(total_timesteps=10000, log_interval=4)
|
model.learn(total_timesteps=10000, log_interval=4)
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
1.7.0a2
|
1.7.0a3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue