Skip to content

Commit

Permalink
datetime (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpnota committed May 16, 2020
1 parent edddd8b commit 657083b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion all/experiments/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ExperimentWriter(SummaryWriter, Writer):
'''
def __init__(self, experiment, agent_name, env_name, loss=True):
self.env_name = env_name
current_time = datetime.now().strftime('%Y%m%d-%H%M%S')
current_time = datetime.now().strftime('%Y-%m-%d %H:%M:%S %f')
os.makedirs(
os.path.join(
"runs", ("%s %s %s" % (agent_name, COMMIT_HASH, current_time)), env_name
Expand Down

0 comments on commit 657083b

Please sign in to comment.