stable-baselines3/stable_baselines3
npit 4232f9daa9
Rename the observations variable in the evaluation util to avoid shadowing (#1288)
* Rename the observations variable in the evaluation util to avoid shadowing

This enables a callback in evaluate_policy to have access to the
observation vector that is fed to the environment step function,
which is currently shadowed by the output observation.

* Update changelog

* Add test

* Move assignment outside of the loop

---------

Co-authored-by: Antonin RAFFIN <antonin.raffin@ensta.org>
Co-authored-by: Antonin Raffin <antonin.raffin@dlr.de>
2023-04-11 18:00:33 +02:00
..
a2c Add stats window argument (#1424) 2023-04-05 11:33:26 +02:00
common Rename the observations variable in the evaluation util to avoid shadowing (#1288) 2023-04-11 18:00:33 +02:00
ddpg Upgrade black formatting (#1310) 2023-02-02 11:58:41 +01:00
dqn Add stats window argument (#1424) 2023-04-05 11:33:26 +02:00
her Multiprocessing support for HerReplayBuffer (#704) 2023-03-20 12:03:57 +01:00
ppo Add stats window argument (#1424) 2023-04-05 11:33:26 +02:00
sac Add stats window argument (#1424) 2023-04-05 11:33:26 +02:00
td3 Add stats window argument (#1424) 2023-04-05 11:33:26 +02:00
__init__.py Update version (#1220) 2022-12-19 13:53:00 +01:00
py.typed Rename to stable-baselines3 2020-05-05 15:02:35 +02:00
version.txt Rename the observations variable in the evaluation util to avoid shadowing (#1288) 2023-04-11 18:00:33 +02:00