Skip to content

Commit

Permalink
bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
oadams committed Oct 13, 2018
1 parent 23027a6 commit a216707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion persephone/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def train(self, early_stopping_steps: int = 10, min_epochs: int = 30,
valid_per = utils.batch_per(hyps, refs)

epoch_str = "Epoch %d. Training LER: %f, validation LER: %f" % (
epoch, (train_ler_total / (batch_i + 1)), valid_ler, valid_per)
epoch, (train_ler_total / (batch_i + 1)), valid_ler)
print(epoch_str, flush=True, file=out_file)
if best_epoch_str is None:
best_epoch_str = epoch_str
Expand Down

0 comments on commit a216707

Please sign in to comment.