This website requires JavaScript.
Explore
Help
Sign in
saymrwulf
/
stable-baselines3
Watch
1
Star
0
Fork
You've already forked stable-baselines3
0
mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced
2026-09-06 20:40:56 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
d43400b464
stable-baselines3
/
stable_baselines3
/
version.txt
2 lines
8 B
Text
Raw
Normal View
History
Unescape
Escape
Fix to use float64 actions for off policy algorithms (#1572) * 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>
2023-07-24 14:38:03 +00:00
2.1.0a3
Reference in a new issue
Copy permalink