Quentin Gallouédec
4fa17dcf0f
Standardize the use of from gym import spaces ( #1240 )
...
* generalize the use of `from gym import spaces`
* command line get system info
* Documentation line length for doc
* update changelog
* add space before os plateform to avoid ref to other issue
* format
* get_system_info update in changelog
* fix type check error
* fix get system info
* add comment about regex
* update version
2023-01-02 14:51:11 +01:00
Antonin RAFFIN
a6f5049a99
Upgrade code to Python 3.7+ syntax using pyupgrade ( #887 )
...
* Upgrade code to Python 3.7+ syntax
* Update changelog
2022-04-25 13:01:38 +03:00
Antonin RAFFIN
d228364ccf
Add timeout handling for on-policy algorithms ( #658 )
...
* Add timeout handling for on-policy algorithms
* Fixes
* Fix infinite loop in eval
* Skip type check for python 3.9
* Fix for discrete obs + add docstring
* Fix A2C test
* Removed unused helper
* Add test for infinite horizon
* typed ast should be fixed
* Apply suggestions from code review
Co-authored-by: Anssi <kaneran21@hotmail.com>
Co-authored-by: Anssi <kaneran21@hotmail.com>
2021-11-16 17:19:16 +01:00
Antonin RAFFIN
5d47296b8d
Add test for GAE + rename RolloutBuffer.dones for clarification ( #375 )
...
* Fix return computation + add test for GAE
* Rename `last_dones` to `episode_starts` for clarification
* Revert advantage
* Cleanup test
* Rename variable
* Clarify return computation
* Clarify docs
* Add multi-episode rollout test
* Reformat
Co-authored-by: Anssi "Miffyli" Kanervisto <kaneran21@hotmail.com>
2021-04-16 15:52:55 +02:00