Skip to main content

ESPNET install

sudo apt-get update
sudo apt-get install -y build-essential libboost-all-dev cmake zlib1g-dev libbz2-dev liblzma-dev
sudo apt-get install -y gfortran subversion python2.7 bc
sudo apt-get install -y automake autoconf sox

# kaldi
git clone https://github.com/kaldi-asr/kaldi
cd <kaldi-root>/tools
sudo ./extras/install_mkl.sh
make -j 16

cd <kaldi-root>/src
./configure --use-cuda=no
make -j clean depend; make -j 16

# Espnet
git clone https://github.com/espnet/espnet
cd <espnet-root>/tools
ln -s <kaldi-root> .

./setup_anaconda.sh anaconda espnet 3.7
make TH_VERSION=1.9.0 CUDA_VERSION=11.1
. ./activate_python.sh; python3 check_install.py

sh sh ./installers/install_fairseq.sh
sh ./installers/install_transformers.sh

make kenlm.done # aisheltools

Git 太慢

git config --add oh-my-zsh.hide-dirty 1