Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
francoishernandez committed Feb 17, 2020
1 parent 75d645a commit 9bf2856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onmt/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def _gradient_accumulation(self, true_batches, normalization, total_stats,
src, tgt, src_lengths, bptt=bptt,
with_align=self.with_align, encode_tgt=self.encode_tgt)
else:
output, attns = self.model(
outputs, attns = self.model(
src, tgt, src_lengths, bptt=bptt,
with_align=self.with_align)
enc_src, enc_tgt = None, None
Expand Down

0 comments on commit 9bf2856

Please sign in to comment.