k2 icon indicating copy to clipboard operation
k2 copied to clipboard

fix lattice length of rnnt_decode

Open glynpu opened this issue 2 years ago • 0 comments

The logprobs of final frame does not contribute lattice generation. This pr is trying to fix this issue.

With original code.

if num_frames = 1

image

if num_frames = 10 image

Current pr

if num_frames = 1 image

if num_frames = 10 image

glynpu avatar Nov 03 '22 13:11 glynpu