from local

This commit is contained in:
dohe0342 2022-12-10 15:00:34 +09:00
parent 2387a1b380
commit 3c31e5151f
2 changed files with 2 additions and 2 deletions

View File

@ -1046,8 +1046,8 @@ def train_one_epoch(
f"Epoch {params.cur_epoch}, "
f"batch {batch_idx}, loss[{loss_info}], "
f"tot_loss[{tot_loss}], batch size: {batch_size}, "
f"enc lr: {cur_lr:.2e}, "
f"dec lr: {cur_lr:.2e}, "
f"enc_lr: {cur_enc_lr:.2e}, "
f"dec_lr: {cur_dec_lr:.2e}, "
+ (f"grad_scale: {scaler._scale.item()}" if params.use_fp16 else "")
)