Skip to content

Commit

Permalink
Merge pull request #4398 from espnet/kamo-naoyuki-patch-1
Browse files Browse the repository at this point in the history
Fix #4396
  • Loading branch information
mergify[bot] committed May 28, 2022
2 parents 890b2ef + 2cf5593 commit 5fa6dcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion espnet2/tasks/abs_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,7 @@ def main_worker(cls, args: argparse.Namespace):
distributed_option=distributed_option,
)

if wandb.run:
if args.use_wandb and wandb.run:
wandb.finish()

@classmethod
Expand Down

0 comments on commit 5fa6dcc

Please sign in to comment.