Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
b4d85d29
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
1 年多 前同步成功
通知
207
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看板
提交
b4d85d29
编写于
5月 08, 2021
作者:
H
Hui Zhang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix ckpt path
上级
e088aa20
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
28 addition
and
17 deletion
+28
-17
examples/aishell/s0/run.sh
examples/aishell/s0/run.sh
+4
-2
examples/aishell/s1/run.sh
examples/aishell/s1/run.sh
+4
-2
examples/librispeech/s0/run.sh
examples/librispeech/s0/run.sh
+7
-6
examples/librispeech/s1/.gitignore
examples/librispeech/s1/.gitignore
+1
-0
examples/librispeech/s1/run.sh
examples/librispeech/s1/run.sh
+4
-3
examples/tiny/s0/run.sh
examples/tiny/s0/run.sh
+4
-2
examples/tiny/s1/run.sh
examples/tiny/s1/run.sh
+4
-2
未找到文件。
examples/aishell/s0/run.sh
浏览文件 @
b4d85d29
...
...
@@ -6,12 +6,14 @@ gpus=0
stage
=
0
stop_stage
=
100
conf_path
=
conf/deepspeech2.yaml
ckpt
=
$(
basename
${
conf_path
}
|
awk
-F
'.'
'{print $1}'
)
avg_num
=
1
avg_ckpt
=
avg_
${
avg_num
}
source
${
MAIN_ROOT
}
/utils/parse_options.sh
||
exit
1
;
avg_ckpt
=
avg_
${
avg_num
}
ckpt
=
$(
basename
${
conf_path
}
|
awk
-F
'.'
'{print $1}'
)
echo
"checkpoint name
${
ckpt
}
"
if
[
${
stage
}
-le
0
]
&&
[
${
stop_stage
}
-ge
0
]
;
then
# prepare data
bash ./local/data.sh
||
exit
-1
...
...
examples/aishell/s1/run.sh
浏览文件 @
b4d85d29
...
...
@@ -5,12 +5,14 @@ source path.sh
stage
=
0
stop_stage
=
100
conf_path
=
conf/conformer.yaml
ckpt
=
$(
basename
${
conf_path
}
|
awk
-F
'.'
'{print $1}'
)
avg_num
=
20
avg_ckpt
=
avg_
${
avg_num
}
source
${
MAIN_ROOT
}
/utils/parse_options.sh
||
exit
1
;
avg_ckpt
=
avg_
${
avg_num
}
ckpt
=
$(
basename
${
conf_path
}
|
awk
-F
'.'
'{print $1}'
)
echo
"checkpoint name
${
ckpt
}
"
if
[
${
stage
}
-le
0
]
&&
[
${
stop_stage
}
-ge
0
]
;
then
# prepare data
bash ./local/data.sh
||
exit
-1
...
...
examples/librispeech/s0/run.sh
浏览文件 @
b4d85d29
...
...
@@ -4,13 +4,14 @@ source path.sh
stage
=
0
stop_stage
=
100
conf_path
=
conf/deepspeech2.yaml
ckpt
=
$(
basename
${
conf_path
}
|
awk
-F
'.'
'{print $1}'
)
avg_num
=
1
avg_ckpt
=
avg_
${
avg_num
}
conf_path
=
conf/transformer.yaml
avg_num
=
30
source
${
MAIN_ROOT
}
/utils/parse_options.sh
||
exit
1
;
avg_ckpt
=
avg_
${
avg_num
}
ckpt
=
$(
basename
${
conf_path
}
|
awk
-F
'.'
'{print $1}'
)
echo
"checkpoint name
${
ckpt
}
"
if
[
${
stage
}
-le
0
]
&&
[
${
stop_stage
}
-ge
0
]
;
then
# prepare data
bash ./local/data.sh
||
exit
-1
...
...
@@ -34,4 +35,4 @@ fi
if
[
${
stage
}
-le
4
]
&&
[
${
stop_stage
}
-ge
4
]
;
then
# export ckpt avg_n
CUDA_VISIBLE_DEVICES
=
./local/export.sh
${
conf_path
}
exp/
${
ckpt
}
/checkpoints/
${
avg_ckpt
}
exp/
${
ckpt
}
/checkpoints/
${
avg_ckpt
}
.jit
fi
\ No newline at end of file
fi
examples/librispeech/s1/.gitignore
浏览文件 @
b4d85d29
data
exp
log
*.profile
examples/librispeech/s1/run.sh
浏览文件 @
b4d85d29
...
...
@@ -5,12 +5,13 @@ source path.sh
stage
=
0
stop_stage
=
100
conf_path
=
conf/transformer.yaml
ckpt
=
$(
basename
${
conf_path
}
|
awk
-F
'.'
'{print $1}'
)
avg_num
=
30
avg_ckpt
=
avg_
${
avg_num
}
source
${
MAIN_ROOT
}
/utils/parse_options.sh
||
exit
1
;
avg_ckpt
=
avg_
${
avg_num
}
ckpt
=
$(
basename
${
conf_path
}
|
awk
-F
'.'
'{print $1}'
)
echo
"checkpoint name
${
ckpt
}
"
if
[
${
stage
}
-le
0
]
&&
[
${
stop_stage
}
-ge
0
]
;
then
# prepare data
bash ./local/data.sh
||
exit
-1
...
...
examples/tiny/s0/run.sh
浏览文件 @
b4d85d29
...
...
@@ -6,12 +6,14 @@ gpus=0
stage
=
0
stop_stage
=
100
conf_path
=
conf/deepspeech2.yaml
ckpt
=
$(
basename
${
conf_path
}
|
awk
-F
'.'
'{print $1}'
)
avg_num
=
1
avg_ckpt
=
avg_
${
avg_num
}
source
${
MAIN_ROOT
}
/utils/parse_options.sh
||
exit
1
;
avg_ckpt
=
avg_
${
avg_num
}
ckpt
=
$(
basename
${
conf_path
}
|
awk
-F
'.'
'{print $1}'
)
echo
"checkpoint name
${
ckpt
}
"
if
[
${
stage
}
-le
0
]
&&
[
${
stop_stage
}
-ge
0
]
;
then
# prepare data
bash ./local/data.sh
||
exit
-1
...
...
examples/tiny/s1/run.sh
浏览文件 @
b4d85d29
...
...
@@ -5,12 +5,14 @@ source path.sh
stage
=
0
stop_stage
=
100
conf_path
=
conf/transformer.yaml
ckpt
=
$(
basename
${
conf_path
}
|
awk
-F
'.'
'{print $1}'
)
avg_num
=
1
avg_ckpt
=
avg_
${
avg_num
}
source
${
MAIN_ROOT
}
/utils/parse_options.sh
||
exit
1
;
avg_ckpt
=
avg_
${
avg_num
}
ckpt
=
$(
basename
${
conf_path
}
|
awk
-F
'.'
'{print $1}'
)
echo
"checkpoint name
${
ckpt
}
"
if
[
${
stage
}
-le
0
]
&&
[
${
stop_stage
}
-ge
0
]
;
then
# prepare data
bash ./local/data.sh
||
exit
-1
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录