Commit dd7f5bf
* Initial implementation of dtype-decision logic
* Fixed init logic
* Updated changelog
* Added a test
* Reformatted using make format
* Ensure make type passes
* Fixed DictRolloutBuffer dtype assignment
* Updated to create a BufferDTypes dataclass and updated pytests
* Fix type check errors on Github, separate dict_obs and obs, honor _normalize_obs for rollout buffers
* Revert _normalize_obs calls in rollout buffers
* Updated docs
* Updated docs
* Added save / load support with backward compatibility
* Cast sampled actions of rollout buffers to float32 to avoid breaking changes
* Fixed pickle loading of BufferDTypes
* Use default_factory instead of default for BufferDTypes.dict_obs
* Simplified BufferDTypes and reverted changes on replay buffers as requested
* Removed BufferDTypes
* Fixed oversight in dictrolloutbuffer dtype
* Update changelog and version
* Remove cast to float32
* Update tests
* Remove cast to long
* Revert "Remove cast to long"
This reverts commit 216d757.
* Revert "Remove cast to float32"
This reverts commit d1e5221.
* Reapply "Remove cast to float32"
This reverts commit 3511452.
* Reapply "Remove cast to long"
This reverts commit c2d532c.
* Cast int8 to float32 to avoid PyTorch issues (MultiBinary)
* Revert "Reapply "Remove cast to long""
This reverts commit 88e6b68.
* Cast at sample time only
* Update changelog.rst
---------
Co-authored-by: Antonin RAFFIN <[email protected]>
1 parent bf51a62 commit dd7f5bf
File tree
4 files changed
+113
-8
lines changed- docs/misc
- stable_baselines3
- common
- tests
4 files changed
+113
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
6 | 38 | | |
7 | 39 | | |
8 | 40 | | |
| |||
1857 | 1889 | | |
1858 | 1890 | | |
1859 | 1891 | | |
1860 | | - | |
| 1892 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
393 | | - | |
| 392 | + | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
| 515 | + | |
| 516 | + | |
516 | 517 | | |
517 | 518 | | |
518 | 519 | | |
| |||
745 | 746 | | |
746 | 747 | | |
747 | 748 | | |
748 | | - | |
749 | | - | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
750 | 753 | | |
751 | 754 | | |
752 | 755 | | |
| |||
832 | 835 | | |
833 | 836 | | |
834 | 837 | | |
835 | | - | |
| 838 | + | |
| 839 | + | |
836 | 840 | | |
837 | 841 | | |
838 | 842 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
166 | 235 | | |
167 | 236 | | |
168 | 237 | | |
| |||
0 commit comments