Skip to content
This repository has been archived by the owner on Jun 11, 2020. It is now read-only.

ctc_beam_search_decoder #22

Closed
zealerww opened this issue Jul 26, 2018 · 1 comment
Closed

ctc_beam_search_decoder #22

zealerww opened this issue Jul 26, 2018 · 1 comment

Comments

@zealerww
Copy link

decoded, log_prob = tf.nn.ctc_beam_search_decoder(logits, seq_len)

acutually, i think you shoud set the param merge_repeated to False, so the result will keep the repeated char. decoded, log_prob = tf.nn.ctc_beam_search_decoder(logits, seq_len, merge_repeated=False) .

so your Ground truth text in readme.md 'semantically' will not be recognized as 'semanticaly'

@Belval
Copy link
Owner

Belval commented Oct 18, 2018

Closing as this was fixed in another issue https://github.com/Belval/CRNN/blob/master/CRNN/crnn.py#L167

Sorry this one fell off my radar.

@Belval Belval closed this as completed Oct 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants