crnn icon indicating copy to clipboard operation
crnn copied to clipboard

How to support beam search decoding

Open vinayakarannil opened this issue 5 years ago • 3 comments

I am following the pytorch implementation. I couldnt find any support for beam search decoding in either of the implementations. Does the decoding by default use beam search?

vinayakarannil avatar Jul 20 '18 08:07 vinayakarannil

CRNN uses best path decoding: https://github.com/bgshih/crnn/blob/master/src/cpp/ctc.cpp#L152

githubharald avatar Jul 20 '18 10:07 githubharald

is it better than a beam search with/without a language model?

vinayakarannil avatar Jul 20 '18 11:07 vinayakarannil

best path decoding < beam search < beam search with (good) language model

githubharald avatar Jul 20 '18 11:07 githubharald