Closed Cuihao1208 closed 2 years ago
I also inquired about this issue. (https://github.com/pytorch/fairseq/issues/3809) For a simple fix, replace "_convert_to_mono" with "convert_to_mono".
Thanks for reporting the bug! Please pull our latest code for a fix.
🐛 Bug
I got the following error when try to run S2T Example: Speech Recognition (ASR) on LibriSpeech. Then error:
To Reproduce
Steps to reproduce the behavior :
python examples/speech_to_text/prep_librispeech_data.py --output-root ${LS_ROOT} --vocab-type unigram --vocab-size 10000
Code sample
line 17-19 in examples/speech_to_text/data_utils.py:
The func "_convert_to_mono" in fairseq/data/audio/audio_utils.py is deleted on 28 Jul: Add speech/text joint training for speech to text task
Expected behavior
Hope to update related references when updating a script.
Environment
pip
, source):