Skip to content

Commit

Permalink
fix: create folder for snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
vejvarm committed Nov 27, 2023
1 parent 4cff1a7 commit 5917195
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ def main():
LOGGER.info(f'Epochs: {args.epochs}')
LOGGER.info(f'Batch size: {args.batch_size}')

LOGDIR.joinpath("tb").mkdir(parents=True, exist_ok=True)
tb_writer = SummaryWriter(LOGDIR.joinpath("tb"))

# run epochs
Expand Down

0 comments on commit 5917195

Please sign in to comment.