mailong25 / self-supervised-speech-recognition

speech to text with self-supervised learning based on wav2vec 2.0 framework
379 stars 115 forks source link

Segmentation fault in inference #22

Closed kingsword5566 closed 3 years ago

kingsword5566 commented 3 years ago

Hi mailong I follow your install instruction and now stuck at stage 4 (Make prediction on multiple audios programmatically) It only shows Segmentation fault (core dumped) Is that means my wav2letter installation broken?

mailong25 commented 3 years ago

Try to reinstall kenlm and wav2letter (from the step 4) https://github.com/mailong25/self-supervised-speech-recognition/blob/master/Dependencies.md

kingsword5566 commented 3 years ago

Hi Reinstalling is not work.

kingsword5566 commented 3 years ago

Solved! I add -DKENLM_MAX_ORDER=20 into wav2letter/bindings/python/setup.py ref: https://github.com/facebookresearch/wav2letter/issues/405