Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
fix logging error (#1017)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeNeutoy authored Mar 22, 2018
1 parent ab3bd0f commit 3ea3e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allennlp/training/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def _train_epoch(self, epoch: int) -> Dict[str, float]:
self._optimizer.step()

# Update the description with the latest metrics
metrics = self._get_metrics(train_loss, self._batch_num_total)
metrics = self._get_metrics(train_loss, batches_this_epoch)
description = self._description_from_metrics(metrics)

train_generator_tqdm.set_description(description, refresh=False)
Expand Down

0 comments on commit 3ea3e64

Please sign in to comment.