Skip to content

Commit

Permalink
refactor: 📈 Do not force resume on WandB
Browse files Browse the repository at this point in the history
  • Loading branch information
adjavon committed Nov 4, 2024
1 parent eb9e348 commit 41f3890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quac/training/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def create(log_type, resume_iter=0, hparams={}, **kwargs):
if log_type == "wandb":
if wandb is None:
raise ImportError("wandb is not installed.")
resume = "must" if resume_iter > 0 else False
resume = "allow" if resume_iter > 0 else False
return WandBLogger(hparams=hparams, resume=resume, **kwargs)
elif log_type == "tensorboard":
if SummaryWriter is None:
Expand Down

0 comments on commit 41f3890

Please sign in to comment.