mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-05-18 21:30:19 +00:00
* Added test cases where off policy algorithms fail with float64 actionspace * casting observations and actions to `np.float32` to unify behaviour between `ReplayBuffer` and `RolloutBuffer`. Fixing issue #1145 * reformatted using black * making test more restrictive by checking models action is float64 * added changelog entry * undo cast of observations as `preprocessing.preprocess_obs()` casts them to float32 anyways. * - Casting to float32 only, if action.dtype is float64 - Added cast to `DictReplayBuffer` as well * Added tests for multiple variations of continuous action types and observation spaces * applied reformatting by `make commit-checks` * Added typing and comment referring to description in merge request * Apply linter for single element slice * Rename helper and refactor tests * Update changelog and docstring --------- Co-authored-by: Antonin RAFFIN <antonin.raffin@ensta.org> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_buffers.py | ||
| test_callbacks.py | ||
| test_cnn.py | ||
| test_custom_policy.py | ||
| test_deterministic.py | ||
| test_dict_env.py | ||
| test_distributions.py | ||
| test_env_checker.py | ||
| test_envs.py | ||
| test_gae.py | ||
| test_her.py | ||
| test_identity.py | ||
| test_logger.py | ||
| test_monitor.py | ||
| test_predict.py | ||
| test_preprocessing.py | ||
| test_run.py | ||
| test_save_load.py | ||
| test_sde.py | ||
| test_spaces.py | ||
| test_tensorboard.py | ||
| test_train_eval_mode.py | ||
| test_utils.py | ||
| test_vec_check_nan.py | ||
| test_vec_envs.py | ||
| test_vec_extract_dict_obs.py | ||
| test_vec_monitor.py | ||
| test_vec_normalize.py | ||
| test_vec_stacked_obs.py | ||