Alexander-H-Liu / End-to-end-ASR-Pytorch

This is an open source project (formerly named Listen, Attend and Spell - PyTorch Implementation) for end-to-end ASR implemented with Pytorch, the well known deep learning toolkit.
MIT License
1.18k stars 317 forks source link

Update train_asr.py #57

Closed mlxu995 closed 3 years ago

mlxu995 commented 4 years ago

eos (eg. "1") was added by default at the end of the text data generation, which was not required for CTC training. So I thought the input target sequence length should be reduced by 1.