Skip to content

Commit

Permalink
Merge pull request THUNLP-MT#48 from zxqchat/zxqchat-fix-top_beams
Browse files Browse the repository at this point in the history
fix the params.top_beams is invalid problem
  • Loading branch information
Glaceon31 authored Sep 26, 2018
2 parents e27d884 + 8feee5d commit 485e58a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion thumt/bin/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ def main(args):

if not args.verbose:
outfile.write("%s\n" % decoded)
break
else:
pattern = "%d ||| %s ||| %s ||| %f\n"
source = restored_inputs[count]
Expand Down

0 comments on commit 485e58a

Please sign in to comment.