Fix wandb setup

Still need two have a log_writer
This commit is contained in:
Janek Mann 2023-01-21 23:26:04 +00:00 committed by GitHub
parent 1c2708dc63
commit ba5706c5d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -577,8 +577,8 @@ def main(args):
if args.wandb is not None and args.wandb:
wandb.init(project=args.project_name, sync_tensorboard=True, )
else:
log_writer = SummaryWriter(log_dir=log_folder,
log_writer = SummaryWriter(log_dir=log_folder,
flush_secs=5,
comment="EveryDream2FineTunes",
)