Skip to content

Commit

Permalink
allow seconds on timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
flyIchtus committed Sep 11, 2024
1 parent 0d11959 commit 8604158
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def get_log_dirs(path: Path):
logger = TensorBoardLogger(
save_dir=log_dir, name=folder, version=subfolder, default_hp_metric=False
)
run_id = datetime.now().strftime("%b-%d-%Y")
run_id = datetime.now().strftime("%b-%d-%Y-%M-%S")

# Setup profiler
if args.profiler == "pytorch":
Expand Down
2 changes: 1 addition & 1 deletion bin/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
args.epochs = 3
args.limit_train_batches = 3

run_id = date.strftime("%b-%d-%Y")
run_id = date.strftime("%b-%d-%Y-%M-%S")
seed.seed_everything(args.seed)


Expand Down

0 comments on commit 8604158

Please sign in to comment.