stable-baselines3/stable_baselines3
Lara Bergmann 32778ddc94
Fix wrong truncation in HER replay buffer (#1543)
* fix episode start idx that leads to wrong episode length

* add episode length test

* Update changelog

* Reformat files

* Use replay_buffer.dones to test HER truncation warning

* truncate_last_trajectory: sample truncated episode and handle infinite horizon tasks

* make test_truncate_last_trajectory independent of learning

* Add timeout comment HER truncate_last_trajectory

Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com>

* Update version.txt

* Update version

---------

Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com>
2023-06-07 15:57:12 +02:00
..
a2c Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
common Fix env checker single-step-env edge case (#1524) 2023-05-25 17:12:32 +02:00
ddpg Upgrade black formatting (#1310) 2023-02-02 11:58:41 +01:00
dqn Fix DQN target update interval for multi-env (#1463) 2023-04-27 18:35:33 +02:00
her Fix wrong truncation in HER replay buffer (#1543) 2023-06-07 15:57:12 +02:00
ppo Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
sac Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
td3 Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
__init__.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
py.typed Rename to stable-baselines3 2020-05-05 15:02:35 +02:00
version.txt Fix wrong truncation in HER replay buffer (#1543) 2023-06-07 15:57:12 +02:00