thu-spmi / CAT

A CRF-based ASR Toolkit
Apache License 2.0
326 stars 74 forks source link

GPU-DEN blank_index is defalut 0? #11

Closed TeaPoly closed 4 years ago

TeaPoly commented 4 years ago

It's not support adjust blank_index to other index. But gpu_ctc support. Is it mean blank index is not important for gpu_den?

hyx16 commented 4 years ago

Gpu_den is used to calculate the gradients of the denominator graph. Blank_index is 1 by default when creating the denominator graph (considering that <eps> is 0 in WFST) . You can change the blank index when creating the denominator graph (not support now). Gpu_den only does calculation, no matter what the blank index is.

TeaPoly commented 4 years ago

Gpu_den is used to calculate the gradients of the denominator graph. Blank_index is 1 by default when creating the denominator graph (considering that is 0 in WFST) . You can change the blank index when creating the denominator graph (not support now). Gpu_den only does calculation, no matter what the blank index is.

Thank you for your reply.