Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
1b206b33
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1b206b33
编写于
9月 17, 2017
作者:
Y
yangyaming
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix bugs for model.py and demo_server.py.
上级
6f636108
变更
26
隐藏空白更改
内联
并排
Showing
26 changed file
with
27 addition
and
26 deletion
+27
-26
cloud/pcloud_submit.sh
cloud/pcloud_submit.sh
+1
-1
cloud/pcloud_train.sh
cloud/pcloud_train.sh
+1
-1
cloud/pcloud_upload_data.sh
cloud/pcloud_upload_data.sh
+1
-1
deploy/demo_server.py
deploy/demo_server.py
+1
-1
examples/librispeech/run_data.sh
examples/librispeech/run_data.sh
+1
-1
examples/librispeech/run_infer.sh
examples/librispeech/run_infer.sh
+1
-1
examples/librispeech/run_infer_golden.sh
examples/librispeech/run_infer_golden.sh
+1
-1
examples/librispeech/run_test.sh
examples/librispeech/run_test.sh
+1
-1
examples/librispeech/run_test_golden.sh
examples/librispeech/run_test_golden.sh
+1
-1
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
+1
-1
examples/tiny/run_data.sh
examples/tiny/run_data.sh
+1
-1
examples/tiny/run_infer.sh
examples/tiny/run_infer.sh
+1
-1
examples/tiny/run_infer_golden.sh
examples/tiny/run_infer_golden.sh
+1
-1
examples/tiny/run_test.sh
examples/tiny/run_test.sh
+1
-1
examples/tiny/run_test_golden.sh
examples/tiny/run_test_golden.sh
+1
-1
examples/tiny/run_train.sh
examples/tiny/run_train.sh
+1
-1
examples/tiny/run_tune.sh
examples/tiny/run_tune.sh
+1
-1
model_utils/model.py
model_utils/model.py
+2
-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
setup.sh
setup.sh
+1
-1
未找到文件。
cloud/pcloud_submit.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
TRAIN_MANIFEST
=
"cloud/cloud_manifests/cloud.manifest.train"
DEV_MANIFEST
=
"cloud/cloud_manifests/cloud.manifest.dev"
...
...
cloud/pcloud_train.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
TRAIN_MANIFEST
=
$1
DEV_MANIFEST
=
$2
...
...
cloud/pcloud_upload_data.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
mkdir
cloud_manifests
...
...
deploy/demo_server.py
浏览文件 @
1b206b33
...
...
@@ -100,7 +100,7 @@ class AsrRequestHandler(SocketServer.BaseRequestHandler):
finish_time
=
time
.
time
()
print
(
"Response Time: %f, Transcript: %s"
%
(
finish_time
-
start_time
,
transcript
))
self
.
request
.
sendall
(
transcript
)
self
.
request
.
sendall
(
transcript
.
encode
(
'utf-8'
)
)
def
_write_to_file
(
self
,
data
):
# prepare save dir and filename
...
...
examples/librispeech/run_data.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
pushd
../..
>
/dev/null
...
...
examples/librispeech/run_infer.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
pushd
../..
>
/dev/null
...
...
examples/librispeech/run_infer_golden.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
pushd
../..
>
/dev/null
...
...
examples/librispeech/run_test.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
pushd
../..
>
/dev/null
...
...
examples/librispeech/run_test_golden.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
pushd
../..
>
/dev/null
...
...
examples/librispeech/run_train.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
pushd
../..
>
/dev/null
...
...
examples/librispeech/run_tune.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
pushd
../..
>
/dev/null
...
...
examples/mandarin/run_demo_client.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
pushd
../..
>
/dev/null
...
...
examples/mandarin/run_demo_server.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
# TODO: replace the model with a mandarin model
pushd
../..
>
/dev/null
...
...
examples/tiny/run_data.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
pushd
../..
>
/dev/null
...
...
examples/tiny/run_infer.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
pushd
../..
>
/dev/null
...
...
examples/tiny/run_infer_golden.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
pushd
../..
>
/dev/null
...
...
examples/tiny/run_test.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
pushd
../..
>
/dev/null
...
...
examples/tiny/run_test_golden.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
pushd
../..
>
/dev/null
...
...
examples/tiny/run_train.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
pushd
../..
>
/dev/null
...
...
examples/tiny/run_tune.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
pushd
../..
>
/dev/null
...
...
model_utils/model.py
浏览文件 @
1b206b33
...
...
@@ -7,6 +7,7 @@ import sys
import
os
import
time
import
gzip
from
distutils.dir_util
import
mkpath
import
paddle.v2
as
paddle
from
model_utils.lm_scorer
import
LmScorer
from
model_utils.decoder
import
ctc_greedy_decoder
,
ctc_beam_search_decoder
...
...
@@ -79,7 +80,7 @@ class DeepSpeech2Model(object):
"""
# prepare model output directory
if
not
os
.
path
.
exists
(
output_model_dir
):
os
.
mkdir
(
output_model_dir
)
mkpath
(
output_model_dir
)
# prepare optimizer and trainer
optimizer
=
paddle
.
optimizer
.
Adam
(
...
...
models/aishell/download_model.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
source
../../utils/utility.sh
...
...
models/librispeech/download_model.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
source
../../utils/utility.sh
...
...
models/lm/download_lm_ch.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
source
../../utils/utility.sh
...
...
models/lm/download_lm_en.sh
浏览文件 @
1b206b33
#! /usr/bin/bash
#! /usr/bin/
env
bash
source
../../utils/utility.sh
...
...
setup.sh
浏览文件 @
1b206b33
#!
/bin/
bash
#!
/usr/bin/env
bash
# install python dependencies
if
[
-f
"requirements.txt"
]
;
then
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录