Skip to content

Commit

Permalink
avoid multiple tensorboard logs for same experiment
Browse files Browse the repository at this point in the history
Signed-off-by: Paarth Neekhara <[email protected]>
  • Loading branch information
paarthneekhara committed Dec 19, 2024
1 parent 2da89fa commit 2ded564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nemo/utils/exp_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ def check_resume(
files_to_move = []
if Path(log_dir).exists():
for child in Path(log_dir).iterdir():
if child.is_file():
if child.is_file() and not child.name.startswith("events.out.tfevents"):
files_to_move.append(child)

if len(files_to_move) > 0:
Expand Down

0 comments on commit 2ded564

Please sign in to comment.