连续两个相同的字符会漏掉一个
chyun opened this issue · comments
Chyun commented
连续两个相同的字符会漏掉一个:
例如: aaby识别为aby, 887y识别为87y
Edouard Belval commented
Change:
Line 167 in 0633495
To:
decoded, log_prob = tf.nn.ctc_beam_search_decoder(logits, seq_len, merge_repeated=False)
And the problem should be fixed.
Chyun commented
done, thanks!