Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
7509dc40
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
11 个月 前同步成功
通知
203
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,发现更多精彩内容 >>
提交
7509dc40
编写于
10月 25, 2021
作者:
H
Hui Zhang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update path and flac
上级
6569ce12
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
21 addition
and
2 deletion
+21
-2
examples/librispeech/s2/local/data_prep.sh
examples/librispeech/s2/local/data_prep.sh
+0
-0
examples/librispeech/s2/path.sh
examples/librispeech/s2/path.sh
+14
-1
tools/Makefile
tools/Makefile
+7
-1
未找到文件。
examples/librispeech/s2/local/data_prep.sh
100644 → 100755
浏览文件 @
7509dc40
文件模式从 100644 更改为 100755
examples/librispeech/s2/path.sh
浏览文件 @
7509dc40
export
MAIN_ROOT
=
`
realpath
${
PWD
}
/../../../
`
export
PATH
=
${
MAIN_ROOT
}
:
${
MAIN_ROOT
}
/tools/sctk/bin:
${
PWD
}
/utils:
${
PATH
}
export
PATH
=
${
MAIN_ROOT
}
:
${
MAIN_ROOT
}
/tools/sctk/bin:
${
MAIN_ROOT
}
/utils:
${
PWD
}
/utils:
${
PATH
}
export
LC_ALL
=
C
export
PYTHONDONTWRITEBYTECODE
=
1
...
...
@@ -13,3 +13,16 @@ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/
MODEL
=
u2_kaldi
export
BIN_DIR
=
${
MAIN_ROOT
}
/deepspeech/exps/
${
MODEL
}
/bin
# srilm
export
LIBLBFGS
=
${
MAIN_ROOT
}
/tools/liblbfgs-1.10
export
LD_LIBRARY_PATH
=
${
LD_LIBRARY_PATH
:-}
:
${
LIBLBFGS
}
/lib/.libs
export
SRILM
=
${
MAIN_ROOT
}
/tools/srilm
export
PATH
=
${
PATH
}
:
${
SRILM
}
/bin:
${
SRILM
}
/bin/i686-m64
# Kaldi
export
KALDI_ROOT
=
${
MAIN_ROOT
}
/tools/kaldi
[
-f
$KALDI_ROOT
/tools/env.sh
]
&&
.
$KALDI_ROOT
/tools/env.sh
export
PATH
=
$PWD
/utils/:
$KALDI_ROOT
/tools/openfst/bin:
$PWD
:
$PATH
[
!
-f
$KALDI_ROOT
/tools/config/common_path.sh
]
&&
echo
>
&2
"The standard file
$KALDI_ROOT
/tools/config/common_path.sh is not present, can not using Kaldi!"
[
-f
$KALDI_ROOT
/tools/config/common_path.sh
]
&&
.
$KALDI_ROOT
/tools/config/common_path.sh
\ No newline at end of file
tools/Makefile
浏览文件 @
7509dc40
...
...
@@ -10,7 +10,7 @@ WGET ?= wget --no-check-certificate
.PHONY
:
all clean
all
:
virtualenv.done
kenlm.done sox.done soxbindings.done mfa.done sclite
.done
all
:
virtualenv.done
apt.done kenlm.done sox.done soxbindings.done mfa.done sclite.done kaldi
.done
virtualenv.done
:
test
-d
venv
||
virtualenv
-p
$(PYTHON)
venv
...
...
@@ -21,6 +21,12 @@ clean:
find
-iname
"*.pyc"
-delete
rm
-rf
kenlm
apt.done
:
apt update
-y
apt
install
-y
flac jq vim tig tree pkg-config libflac-dev libogg-dev libvorbis-dev libboost-dev swig python3-dev
touch
apt.done
kenlm.done
:
# Ubuntu 16.04 透過 apt 會安裝 boost 1.58.0
# it seems that boost
(
1.54.0
)
requires higher version. After I switched to g++-5 it compiles normally.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录