You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com/mailong25/self-supervised-speech-recognition.git
cd self-supervised-speech-recognition
0. Create a folder to store external libs
mkdir libs
cd libs
1. Install python package
pip install soundfile torchaudio sentencepiece editdistance sklearn
If cuda version < 11 (eg. cuda 10.1):
pip install torch==1.6.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
If cuda >= 11:
pip install torch==1.6.0
2. Install fairseq
git clone https://github.com/pytorch/fairseq.git
cd fairseq
git checkout c8a0659be5cdc15caa102d5bbf72b872567c4859
pip install --editable ./
cd ..