mirror of
https://github.com/vale981/ray
synced 2025-03-08 19:41:38 -05:00
update (#3112)
This commit is contained in:
parent
8d8b6e5bfa
commit
73a092e08c
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ class Agent(Trainable):
|
||||||
if logger_creator is None:
|
if logger_creator is None:
|
||||||
timestr = datetime.today().strftime("%Y-%m-%d_%H-%M-%S")
|
timestr = datetime.today().strftime("%Y-%m-%d_%H-%M-%S")
|
||||||
logdir_prefix = "{}_{}_{}".format(
|
logdir_prefix = "{}_{}_{}".format(
|
||||||
[self._agent_name, self._env_id, timestr])
|
self._agent_name, self._env_id, timestr)
|
||||||
|
|
||||||
def default_logger_creator(config):
|
def default_logger_creator(config):
|
||||||
"""Creates a Unified logger with a default logdir prefix
|
"""Creates a Unified logger with a default logdir prefix
|
||||||
|
|
Loading…
Add table
Reference in a new issue