k2-fsa / icefall

https://k2-fsa.github.io/icefall/
Apache License 2.0
792 stars 267 forks source link

fix error in length computing #1607

Closed zzasdf closed 3 weeks ago

zzasdf commented 3 weeks ago

This PR fixs the bug in librispeech/SSL, which computes x_lens using padding_mask in a wrong way. Fortunately, it did not cause any problem.