TextReconitionModel failed with CTC-prefix-beam-search

looks like an off-by-one error (in addition to the N+1 calculation).

perhaps open an issue on the github. there you’ll find the people who understand the example and are able to fix it.