from local

This commit is contained in:
dohe0342 2023-02-03 01:31:53 +09:00
parent 8fe06b88e7
commit acc993cfce
2 changed files with 1 additions and 1 deletions

View File

@ -556,7 +556,7 @@ def train_one_epoch(
f"batch {batch_idx}, loss[{loss_info}], "
f"tot_loss[{tot_loss}], batch size: {batch_size}"
)
wb.log({"train/loss": tot_loss})
wb.log({"train/loss": loss.item()})
if tb_writer is not None:
loss_info.write_summary(