We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcbba3b commit 068502fCopy full SHA for 068502f
pytorch_lightning/core/lightning.py
@@ -1397,7 +1397,7 @@ def get_progress_bar_dict(self):
1397
if running_train_loss is not None
1398
else float("NaN")
1399
)
1400
- tqdm_dict = {"loss": "{:.3f}".format(avg_training_loss)}
+ tqdm_dict = {"loss": "{:.3g}".format(avg_training_loss)}
1401
1402
if self.trainer.truncated_bptt_steps is not None:
1403
tqdm_dict["split_idx"] = self.trainer.split_idx
0 commit comments