mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-11-18 09:54:10 +00:00
Add default filename for monitor
This commit is contained in:
parent
c0cb9fc9c5
commit
9e8f6e0020
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ class Monitor(Wrapper):
|
||||||
EXT = "monitor.csv"
|
EXT = "monitor.csv"
|
||||||
file_handler = None
|
file_handler = None
|
||||||
|
|
||||||
def __init__(self, env, filename, allow_early_resets=True, reset_keywords=(), info_keywords=()):
|
def __init__(self, env, filename=None, allow_early_resets=True, reset_keywords=(), info_keywords=()):
|
||||||
"""
|
"""
|
||||||
A monitor wrapper for Gym environments, it is used to know the episode reward, length, time and other data.
|
A monitor wrapper for Gym environments, it is used to know the episode reward, length, time and other data.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue