Closed harveenchadha closed 2 years ago
I see. As a quick fix can you try commenting out the assert statement in w2l_decoder (inside init,W2lKenLMDecoder) and see if that works?
Even in my wildest dreams, I would not have imagined that this would work but it did. Looks like assert is doing nothing 😃
Thank you.
Hello,
I tried the single file inference, this worked with both viterbi and kenlm. Then I moved to batch inference, here viterbi works just fine but kenlm throws an exception:
Normally this exception comes when the vocab of the model and the language model is different but I think this would be taken care of for sure. Can you suggest something to run this? I am also surprised as I am not getting this error in single file inference but in batch mode.
Thanks!