安装
cd src
./configure --mathlib=OPENBLAS --shared --use-cuda=no; $(MAKE) depend; $(MAKE) all
文档
https://www.gitbook.com/book/shiweipku/chinese-doc-of-kaldi
aishell配置指南
cmd.sh
改为本地运行模式,将原先文件注释,添加如下代码:
export train_cmd=run.pl
export decode_cmd="run.pl --mem 4G"
export mkgraph_cmd="run.pl --mem 8G"
export cuda_cmd="run.pl --gpu 1"
run.sh
下载数据集,将原来数据集路径改为本地数据集路径:
data=/storage/workspace/zhujieenv/DeepSpeechRecognition/data
目录结构从data起为data/data_aishell/wav,data/data_aishell/transcript,
注释掉以下两行:
#local/download_and_untar.sh $data $data_url data_aishell || exit 1;
#local/download_and_untar.sh $data $data_url resource_aishell || exit 1;