Skip to content

Commit 9bf2856

Browse files
fix typo
1 parent 75d645a commit 9bf2856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onmt/trainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def _gradient_accumulation(self, true_batches, normalization, total_stats,
379379
src, tgt, src_lengths, bptt=bptt,
380380
with_align=self.with_align, encode_tgt=self.encode_tgt)
381381
else:
382-
output, attns = self.model(
382+
outputs, attns = self.model(
383383
src, tgt, src_lengths, bptt=bptt,
384384
with_align=self.with_align)
385385
enc_src, enc_tgt = None, None

0 commit comments

Comments
 (0)