Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
models
提交
77d2bf77
M
models
项目概览
PaddlePaddle
/
models
大约 1 年 前同步成功
通知
222
Star
6828
Fork
2962
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
602
列表
看板
标记
里程碑
合并请求
255
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
models
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
602
Issue
602
列表
看板
标记
里程碑
合并请求
255
合并请求
255
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
77d2bf77
编写于
11月 06, 2017
作者:
X
Xinghai Sun
提交者:
GitHub
11月 06, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #422 from xinghai-sun/demo_example
Release BaiduEn8k model and prepare the corresponding demo example.
上级
8819862a
e56c7ced
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
29 addition
and
10 deletion
+29
-10
deep_speech_2/examples/deploy_demo/run_demo_client.sh
deep_speech_2/examples/deploy_demo/run_demo_client.sh
+0
-0
deep_speech_2/examples/deploy_demo/run_english_demo_server.sh
..._speech_2/examples/deploy_demo/run_english_demo_server.sh
+10
-10
deep_speech_2/models/baidu_en8k/download_model.sh
deep_speech_2/models/baidu_en8k/download_model.sh
+19
-0
未找到文件。
deep_speech_2/examples/
mandarin
/run_demo_client.sh
→
deep_speech_2/examples/
deploy_demo
/run_demo_client.sh
浏览文件 @
77d2bf77
文件已移动
deep_speech_2/examples/
mandarin/run
_demo_server.sh
→
deep_speech_2/examples/
deploy_demo/run_english
_demo_server.sh
浏览文件 @
77d2bf77
...
@@ -13,7 +13,7 @@ cd - > /dev/null
...
@@ -13,7 +13,7 @@ cd - > /dev/null
# download well-trained model
# download well-trained model
cd
models/
librispeech
>
/dev/null
cd
models/
baidu_en8k
>
/dev/null
sh download_model.sh
sh download_model.sh
if
[
$?
-ne
0
]
;
then
if
[
$?
-ne
0
]
;
then
exit
1
exit
1
...
@@ -28,19 +28,19 @@ python -u deploy/demo_server.py \
...
@@ -28,19 +28,19 @@ python -u deploy/demo_server.py \
--host_port
=
8086
\
--host_port
=
8086
\
--num_conv_layers
=
2
\
--num_conv_layers
=
2
\
--num_rnn_layers
=
3
\
--num_rnn_layers
=
3
\
--rnn_layer_size
=
2048
\
--rnn_layer_size
=
1024
\
--alpha
=
0.36
\
--alpha
=
1.15
\
--beta
=
0.
2
5
\
--beta
=
0.
1
5
\
--cutoff_prob
=
0.99
\
--cutoff_prob
=
1.0
\
--cutoff_top_n
=
40
\
--cutoff_top_n
=
40
\
--use_gru
=
Fals
e
\
--use_gru
=
Tru
e
\
--use_gpu
=
True
\
--use_gpu
=
True
\
--share_rnn_weights
=
Tru
e
\
--share_rnn_weights
=
Fals
e
\
--speech_save_dir
=
'demo_cache'
\
--speech_save_dir
=
'demo_cache'
\
--warmup_manifest
=
'data/tiny/manifest.test-clean'
\
--warmup_manifest
=
'data/tiny/manifest.test-clean'
\
--mean_std_path
=
'models/
librispeech
/mean_std.npz'
\
--mean_std_path
=
'models/
baidu_en8k
/mean_std.npz'
\
--vocab_path
=
'models/
librispeech
/vocab.txt'
\
--vocab_path
=
'models/
baidu_en8k
/vocab.txt'
\
--model_path
=
'models/
librispeech
/params.tar.gz'
\
--model_path
=
'models/
baidu_en8k
/params.tar.gz'
\
--lang_model_path
=
'models/lm/common_crawl_00.prune01111.trie.klm'
\
--lang_model_path
=
'models/lm/common_crawl_00.prune01111.trie.klm'
\
--decoding_method
=
'ctc_beam_search'
\
--decoding_method
=
'ctc_beam_search'
\
--specgram_type
=
'linear'
--specgram_type
=
'linear'
...
...
deep_speech_2/models/baidu_en8k/download_model.sh
0 → 100644
浏览文件 @
77d2bf77
#! /usr/bin/env bash
.
../../utils/utility.sh
URL
=
'To-be-added'
MD5
=
a19d40cb3b558eb696c44d883f32cfda
TARGET
=
./baidu_en8k_model.tar.gz
echo
"Download BaiduEn8k model ..."
download
$URL
$MD5
$TARGET
if
[
$?
-ne
0
]
;
then
echo
"Fail to download BaiduEn8k model!"
exit
1
fi
tar
-zxvf
$TARGET
exit
0
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录