stable-baselines3/stable_baselines3/her
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
..
__init__.py Exposed modules in __init__.py with __all__ (#1195) 2022-11-29 23:33:46 +01:00
goal_selection_strategy.py Implement HER (#120) 2020-10-22 11:56:43 +02:00
her_replay_buffer.py Fix wrong truncation in HER replay buffer (#1543) 2023-06-07 15:57:12 +02:00