Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
b2d05cf6
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
12 个月 前同步成功
通知
205
Star
8425
Fork
1598
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
245
列表
看板
标记
里程碑
合并请求
3
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
DeepSpeech
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
245
Issue
245
列表
看板
标记
里程碑
合并请求
3
合并请求
3
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b2d05cf6
编写于
10月 26, 2021
作者:
H
Hui Zhang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix kaldi install
上级
a37cfbfb
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
12 addition
and
4 deletion
+12
-4
tools/Makefile
tools/Makefile
+6
-2
tools/extras/install_kaldi.sh
tools/extras/install_kaldi.sh
+6
-2
未找到文件。
tools/Makefile
浏览文件 @
b2d05cf6
...
...
@@ -10,7 +10,7 @@ WGET ?= wget --no-check-certificate
.PHONY
:
all clean
all
:
virtualenv.done apt.done kenlm.done sox.done soxbindings.done mfa.done sclite.done
kaldi.done
all
:
virtualenv.done apt.done kenlm.done sox.done soxbindings.done mfa.done sclite.done
virtualenv.done
:
test
-d
venv
||
virtualenv
-p
$(PYTHON)
venv
...
...
@@ -55,7 +55,11 @@ mfa.done:
tar
xvf montreal-forced-aligner_linux.tar.gz
touch
mfa.done
kaldi.done
:
openblas.done
:
bash extras/install_openblas.sh
touch
openblas.done
kaldi.done
:
openblas.done
bash extras/install_kaldi.sh
touch
kaldi.done
...
...
tools/extras/install_kaldi.sh
浏览文件 @
b2d05cf6
...
...
@@ -16,7 +16,7 @@ else
echo
"
$KALDI_DIR
already exists!"
fi
c
d
"
$KALDI_DIR
/tools"
push
d
"
$KALDI_DIR
/tools"
git pull
# Prevent kaldi from switching default python version
...
...
@@ -28,8 +28,12 @@ touch "python/.use_default_python"
make
-j4
pushd
../src
./configure
--shared
--use-cuda
=
no
--static-math
--mathlib
=
OPENBLAS
--openblas-root
=
${
KALDI_DIR
}
/../OpenBLAS/install
OPENBLAS_DIR
=
${
KALDI_DIR
}
/../OpenBLAS
mkdir
-p
${
OPENBLAS_DIR
}
/install
./configure
--shared
--use-cuda
=
no
--static-math
--mathlib
=
OPENBLAS
--openblas-root
=
${
OPENBLAS_DIR
}
/install
make clean
-j
&&
make depend
-j
&&
make
-j4
popd
popd
echo
"Done installing Kaldi."
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录