Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
8432b9b2
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
大约 1 年 前同步成功
通知
206
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,发现更多精彩内容 >>
未验证
提交
8432b9b2
编写于
7月 29, 2021
作者:
H
Hui Zhang
提交者:
GitHub
7月 29, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #737 from Jackwaterveg/fixing_bug
Fixing bug
上级
6076197b
b13630b1
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
9 addition
and
7 deletion
+9
-7
examples/aishell/s0/local/server.sh
examples/aishell/s0/local/server.sh
+5
-5
examples/dataset/librispeech/librispeech.py
examples/dataset/librispeech/librispeech.py
+2
-1
examples/dataset/mini_librispeech/mini_librispeech.py
examples/dataset/mini_librispeech/mini_librispeech.py
+2
-1
未找到文件。
examples/aishell/s0/local/server.sh
浏览文件 @
8432b9b2
...
...
@@ -15,10 +15,10 @@ if [ $? -ne 0 ]; then
fi
# download well-trained model
bash
local
/download_model.sh
if
[
$?
-ne
0
]
;
then
exit
1
fi
#
bash local/download_model.sh
#
if [ $? -ne 0 ]; then
#
exit 1
#
fi
# start demo server
CUDA_VISIBLE_DEVICES
=
0
\
...
...
@@ -29,7 +29,7 @@ python3 -u ${BIN_DIR}/deploy/server.py \
--host_ip
=
"localhost"
\
--host_port
=
8086
\
--speech_save_dir
=
"demo_cache"
\
--checkpoint_path
${
1
}
--checkpoint_path
${
1
}
if
[
$?
-ne
0
]
;
then
echo
"Failed in starting demo server!"
...
...
examples/dataset/librispeech/librispeech.py
浏览文件 @
8432b9b2
...
...
@@ -116,7 +116,8 @@ def create_manifest(data_dir, manifest_path):
subset
=
os
.
path
.
splitext
(
manifest_path
)[
1
][
1
:]
manifest_dir
=
os
.
path
.
dirname
(
manifest_path
)
meta_path
=
os
.
path
.
join
(
manifest_dir
,
dtype
)
+
'.meta'
data_dir_name
=
os
.
path
.
split
(
data_dir
)[
-
1
]
meta_path
=
os
.
path
.
join
(
manifest_dir
,
data_dir_name
)
+
'.meta'
with
open
(
meta_path
,
'w'
)
as
f
:
print
(
f
"
{
subset
}
:"
,
file
=
f
)
print
(
f
"
{
total_num
}
utts"
,
file
=
f
)
...
...
examples/dataset/mini_librispeech/mini_librispeech.py
浏览文件 @
8432b9b2
...
...
@@ -95,7 +95,8 @@ def create_manifest(data_dir, manifest_path):
subset
=
os
.
path
.
splitext
(
manifest_path
)[
1
][
1
:]
manifest_dir
=
os
.
path
.
dirname
(
manifest_path
)
meta_path
=
os
.
path
.
join
(
manifest_dir
,
dtype
)
+
'.meta'
data_dir_name
=
os
.
path
.
split
(
data_dir
)[
-
1
]
meta_path
=
os
.
path
.
join
(
manifest_dir
,
data_dir_name
)
+
'.meta'
with
open
(
meta_path
,
'w'
)
as
f
:
print
(
f
"
{
subset
}
:"
,
file
=
f
)
print
(
f
"
{
total_num
}
utts"
,
file
=
f
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录