stable-baselines3/stable_baselines3
lutogniew e76316341d
Fix env checker single-step-env edge case (#1524)
* Fix env checker single-step-env edge case

Before this change, env checker failed to `reset()` the tested
environment before calling `step()` when checking for `Inf` / `NaN`.
This could cause environments which happened to have only one `step()`
available before the episode was terminated to fail.

This is now fixed.

* Code review fixes #1

As suggested by Antonin Raffin <antonin.raffin@ensta.org>.
2023-05-25 17:12:32 +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 Add Gymnasium support (#1327) 2023-04-14 13:13:59 +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 env checker single-step-env edge case (#1524) 2023-05-25 17:12:32 +02:00