Skip to content

Commit

Permalink
Fixed path to tb log
Browse files Browse the repository at this point in the history
  • Loading branch information
kylevedder committed Apr 22, 2024
1 parent 5f19d88 commit dfdccd4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test_pl.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ def main():

pl.seed_everything(42069)

tbl = TensorBoardLogger("tb_logs", name=cfg.filename, version=args.checkpoint_dir_name)
tbl = TensorBoardLogger(
"tb_logs", name=str(Path(cfg.filename).parent.absolute()), version=args.checkpoint_dir_name
)
print("Tensorboard logs will be saved to:", tbl.log_dir, flush=True)

test_dataloader, evaluator = make_test_dataloader(cfg)
Expand Down

0 comments on commit dfdccd4

Please sign in to comment.