Merge pull request #562 from u-haru/hotfix/max_mean_logs_with_loss

loss表示追加
This commit is contained in:
Kohya S
2023-06-05 21:42:25 +09:00
committed by GitHub

View File

@@ -724,7 +724,7 @@ def train(args):
progress_bar.set_postfix(**logs)
if args.scale_weight_norms:
progress_bar.set_postfix(**max_mean_logs)
progress_bar.set_postfix(**{**max_mean_logs,**logs})
if args.logging_dir is not None:
logs = generate_step_logs(args, current_loss, avr_loss, lr_scheduler, keys_scaled, mean_norm, maximum_norm)