sooftware / conformer

[Unofficial] PyTorch implementation of "Conformer: Convolution-augmented Transformer for Speech Recognition" (INTERSPEECH 2020)
Apache License 2.0
918 stars 173 forks source link

what does the Class Conv2dSubampling‘s return mean? #61

Open qiushan233 opened 8 months ago

qiushan233 commented 8 months ago

I'm confused by the Class Conv2dSubampling in convolution.py.What does the second return output_lengths mean?

qiushan233 commented 8 months ago

for example,when input_length==55,the output_length is wrong

longlnOff commented 8 months ago

Yes, I have gotten that problem when I used output length of conformer for RNNT loss in TorchAudio