Skip to content

Commit

Permalink
Change merge parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanleary committed Jun 28, 2017
1 parent b474841 commit 4848334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def __init__(self, labels, scorer, beam_width=20, top_paths=1, blank_index=0, sp
raise ImportError("BeamCTCDecoder requires pytorch_ctc package.")

self._decoder = CTCBD(scorer, labels, top_paths=top_paths, beam_width=beam_width,
blank_index=blank_index, space_index=space_index, merge_repeated=True)
blank_index=blank_index, space_index=space_index, merge_repeated=False)


def decode(self, probs, sizes=None):
Expand Down

0 comments on commit 4848334

Please sign in to comment.