stable-baselines3/stable_baselines3/common
Adam Gleave b1cc15970a
Use higher resolution time_ns() and avoid division by zero (#979)
* Use higher resolution time and round up to eps

* Update changelog

* Add test case

* Fix formatting, time()->time_ns

* Bugfix: ns is integer not float

* Move test to better place

* Divide by 1e9 earlier
2022-07-25 23:02:53 +02:00
..
envs Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
sb2_compat Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
vec_env Fix synchronization bug with EvalCallback (#907) 2022-05-08 21:54:34 +03:00
__init__.py Update docs (custom policy, type hints) (#167) 2020-09-29 20:41:14 +03:00
atari_wrappers.py Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
base_class.py Use higher resolution time_ns() and avoid division by zero (#979) 2022-07-25 23:02:53 +02:00
buffers.py Release v1.6.0 (#958) 2022-07-12 22:50:23 +02:00
callbacks.py Fix exception cause in base_class.py (#940) 2022-06-21 20:58:02 +01:00
distributions.py Fix returned type in predict (#964) 2022-07-18 11:22:19 +02:00
env_checker.py Fix exception cause in base_class.py (#940) 2022-06-21 20:58:02 +01:00
env_util.py Added wrapper_kwargs argument to make_vec_env (#448) 2021-05-23 11:33:34 +02:00
evaluation.py Fix evaluation script for recurrent policies (#678) 2021-11-30 13:49:06 +01:00
logger.py Add doc to use mlflow logger (#889) 2022-05-08 15:28:31 +02:00
monitor.py Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
noise.py Fix exception cause in base_class.py (#940) 2022-06-21 20:58:02 +01:00
off_policy_algorithm.py Use higher resolution time_ns() and avoid division by zero (#979) 2022-07-25 23:02:53 +02:00
on_policy_algorithm.py Use higher resolution time_ns() and avoid division by zero (#979) 2022-07-25 23:02:53 +02:00
policies.py Fix returned type in predict (#964) 2022-07-18 11:22:19 +02:00
preprocessing.py Documentation update (#450) 2021-05-23 13:13:11 +02:00
results_plotter.py Fix default arguments + add bugbear (#363) 2021-03-25 11:35:21 +02:00
running_mean_std.py Upgrade code to Python 3.7+ syntax using pyupgrade (#887) 2022-04-25 13:01:38 +03:00
save_util.py Fix exception cause in base_class.py (#940) 2022-06-21 20:58:02 +01:00
torch_layers.py Replace "nature" with "Nature" (magazine) to reduce confusion (#965) 2022-07-15 22:48:27 +02:00
type_aliases.py Multiprocessing support for off policy algorithms (#439) 2021-12-01 22:30:09 +01:00
utils.py Escape tensorboard log name (#857) 2022-04-11 21:49:18 +02:00