This commit is contained in:
Eric Liang 2018-10-22 22:55:43 -07:00 committed by GitHub
parent 8d8b6e5bfa
commit 73a092e08c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -214,7 +214,7 @@ class Agent(Trainable):
if logger_creator is None:
timestr = datetime.today().strftime("%Y-%m-%d_%H-%M-%S")
logdir_prefix = "{}_{}_{}".format(
[self._agent_name, self._env_id, timestr])
self._agent_name, self._env_id, timestr)
def default_logger_creator(config):
"""Creates a Unified logger with a default logdir prefix