HawkAaron / warp-transducer

A fast parallel implementation of RNN Transducer.
Apache License 2.0
307 stars 124 forks source link

Can blank assign with non-zero? #53

Closed yanz0920 closed 4 years ago

yanz0920 commented 5 years ago

hi, when I use the warprnnt_tensorflow.rnnt_loss(), I set the blank_label to vocab_size-1, is it right?

I saw the python interface, and one sentence infer to blank like:

And then I check the source code, but there is no constraint on blank...

HawkAaron commented 4 years ago

Yeah, you could set blank label to any class index.