Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
3663ba57
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看板
提交
3663ba57
编写于
9月 27, 2017
作者:
Y
Yibing Liu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
make *.sh files more robust in DS2
上级
19eb6343
变更
26
隐藏空白更改
内联
并排
Showing
26 changed file
with
66 addition
and
66 deletion
+66
-66
examples/aishell/run_data.sh
examples/aishell/run_data.sh
+1
-1
examples/aishell/run_infer.sh
examples/aishell/run_infer.sh
+3
-3
examples/aishell/run_infer_golden.sh
examples/aishell/run_infer_golden.sh
+5
-5
examples/aishell/run_test.sh
examples/aishell/run_test.sh
+3
-3
examples/aishell/run_test_golden.sh
examples/aishell/run_test_golden.sh
+5
-5
examples/aishell/run_train.sh
examples/aishell/run_train.sh
+1
-1
examples/librispeech/run_data.sh
examples/librispeech/run_data.sh
+1
-1
examples/librispeech/run_infer.sh
examples/librispeech/run_infer.sh
+3
-3
examples/librispeech/run_infer_golden.sh
examples/librispeech/run_infer_golden.sh
+5
-5
examples/librispeech/run_test.sh
examples/librispeech/run_test.sh
+3
-3
examples/librispeech/run_test_golden.sh
examples/librispeech/run_test_golden.sh
+5
-5
examples/librispeech/run_train.sh
examples/librispeech/run_train.sh
+1
-1
examples/librispeech/run_tune.sh
examples/librispeech/run_tune.sh
+1
-1
examples/mandarin/run_demo_client.sh
examples/mandarin/run_demo_client.sh
+1
-1
examples/mandarin/run_demo_server.sh
examples/mandarin/run_demo_server.sh
+5
-5
examples/tiny/run_data.sh
examples/tiny/run_data.sh
+1
-1
examples/tiny/run_infer.sh
examples/tiny/run_infer.sh
+3
-3
examples/tiny/run_infer_golden.sh
examples/tiny/run_infer_golden.sh
+5
-5
examples/tiny/run_test.sh
examples/tiny/run_test.sh
+3
-3
examples/tiny/run_test_golden.sh
examples/tiny/run_test_golden.sh
+5
-5
examples/tiny/run_train.sh
examples/tiny/run_train.sh
+1
-1
examples/tiny/run_tune.sh
examples/tiny/run_tune.sh
+1
-1
models/aishell/download_model.sh
models/aishell/download_model.sh
+1
-1
models/librispeech/download_model.sh
models/librispeech/download_model.sh
+1
-1
models/lm/download_lm_ch.sh
models/lm/download_lm_ch.sh
+1
-1
models/lm/download_lm_en.sh
models/lm/download_lm_en.sh
+1
-1
未找到文件。
examples/aishell/run_data.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# download data, generate manifests
PYTHONPATH
=
.:
$PYTHONPATH
python data/aishell/aishell.py
\
...
...
examples/aishell/run_infer.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# download language model
push
d
models/lm
>
/dev/null
c
d
models/lm
>
/dev/null
sh download_lm_ch.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# infer
...
...
examples/aishell/run_infer_golden.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# download language model
push
d
models/lm
>
/dev/null
c
d
models/lm
>
/dev/null
sh download_lm_ch.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# download well-trained model
push
d
models/aishell
>
/dev/null
c
d
models/aishell
>
/dev/null
sh download_model.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# infer
...
...
examples/aishell/run_test.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# download language model
push
d
models/lm
>
/dev/null
c
d
models/lm
>
/dev/null
sh download_lm_ch.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# evaluate model
...
...
examples/aishell/run_test_golden.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# download language model
push
d
models/lm
>
/dev/null
c
d
models/lm
>
/dev/null
sh download_lm_ch.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# download well-trained model
push
d
models/aishell
>
/dev/null
c
d
models/aishell
>
/dev/null
sh download_model.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# evaluate model
...
...
examples/aishell/run_train.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# train model
# if you wish to resume from an exists model, uncomment --init_model_path
...
...
examples/librispeech/run_data.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# download data, generate manifests
PYTHONPATH
=
.:
$PYPYTHONPATH
python data/librispeech/librispeech.py
\
...
...
examples/librispeech/run_infer.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# download language model
push
d
models/lm
>
/dev/null
c
d
models/lm
>
/dev/null
sh download_lm_en.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# infer
...
...
examples/librispeech/run_infer_golden.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# download language model
push
d
models/lm
>
/dev/null
c
d
models/lm
>
/dev/null
sh download_lm_en.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# download well-trained model
push
d
models/librispeech
>
/dev/null
c
d
models/librispeech
>
/dev/null
sh download_model.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# infer
...
...
examples/librispeech/run_test.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# download language model
push
d
models/lm
>
/dev/null
c
d
models/lm
>
/dev/null
sh download_lm_en.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# evaluate model
...
...
examples/librispeech/run_test_golden.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# download language model
push
d
models/lm
>
/dev/null
c
d
models/lm
>
/dev/null
sh download_lm_en.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# download well-trained model
push
d
models/librispeech
>
/dev/null
c
d
models/librispeech
>
/dev/null
sh download_model.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# evaluate model
...
...
examples/librispeech/run_train.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# train model
# if you wish to resume from an exists model, uncomment --init_model_path
...
...
examples/librispeech/run_tune.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# grid-search for hyper-parameters in language model
CUDA_VISIBLE_DEVICES
=
0,1,2,3
\
...
...
examples/mandarin/run_demo_client.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# start demo client
CUDA_VISIBLE_DEVICES
=
0
\
...
...
examples/mandarin/run_demo_server.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
# TODO: replace the model with a mandarin model
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# download language model
push
d
models/lm
>
/dev/null
c
d
models/lm
>
/dev/null
sh download_lm_en.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# download well-trained model
push
d
models/librispeech
>
/dev/null
c
d
models/librispeech
>
/dev/null
sh download_model.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# start demo server
...
...
examples/tiny/run_data.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# prepare folder
if
[
!
-e
data/tiny
]
;
then
...
...
examples/tiny/run_infer.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# download language model
push
d
models/lm
>
/dev/null
c
d
models/lm
>
/dev/null
sh download_lm_en.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# infer
...
...
examples/tiny/run_infer_golden.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# download language model
push
d
models/lm
>
/dev/null
c
d
models/lm
>
/dev/null
sh download_lm_en.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# download well-trained model
push
d
models/librispeech
>
/dev/null
c
d
models/librispeech
>
/dev/null
sh download_model.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# infer
...
...
examples/tiny/run_test.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# download language model
push
d
models/lm
>
/dev/null
c
d
models/lm
>
/dev/null
sh download_lm_en.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# evaluate model
...
...
examples/tiny/run_test_golden.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# download language model
push
d
models/lm
>
/dev/null
c
d
models/lm
>
/dev/null
sh download_lm_en.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# download well-trained model
push
d
models/librispeech
>
/dev/null
c
d
models/librispeech
>
/dev/null
sh download_model.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
popd
>
/dev/null
cd
-
>
/dev/null
# evaluate model
...
...
examples/tiny/run_train.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# train model
# if you wish to resume from an exists model, uncomment --init_model_path
...
...
examples/tiny/run_tune.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
push
d
../..
>
/dev/null
c
d
../..
>
/dev/null
# grid-search for hyper-parameters in language model
CUDA_VISIBLE_DEVICES
=
0,1,2,3,4,5,6,7
\
...
...
models/aishell/download_model.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
source
../../utils/utility.sh
.
../../utils/utility.sh
URL
=
'http://cloud.dlnel.org/filepub/?uuid=6c83b9d8-3255-4adf-9726-0fe0be3d0274'
MD5
=
28521a58552885a81cf92a1e9b133a71
...
...
models/librispeech/download_model.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
source
../../utils/utility.sh
.
../../utils/utility.sh
URL
=
'http://cloud.dlnel.org/filepub/?uuid=8e3cf742-2ff3-41ce-a49d-f6158cc06a23'
MD5
=
2ef08f8b608a7c555592161fc14d81a6
...
...
models/lm/download_lm_ch.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
source
../../utils/utility.sh
.
../../utils/utility.sh
URL
=
http://cloud.dlnel.org/filepub/?uuid
=
d21861e4-4ed6-45bb-ad8e-ae417a43195e
MD5
=
"29e02312deb2e59b3c8686c7966d4fe3"
...
...
models/lm/download_lm_en.sh
浏览文件 @
3663ba57
#! /usr/bin/env bash
source
../../utils/utility.sh
.
../../utils/utility.sh
URL
=
http://paddlepaddle.bj.bcebos.com/model_zoo/speech/common_crawl_00.prune01111.trie.klm
MD5
=
"099a601759d467cd0a8523ff939819c5"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录