Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
4ce08040
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
12 个月 前同步成功
通知
205
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,发现更多精彩内容 >>
未验证
提交
4ce08040
编写于
7月 20, 2021
作者:
H
Hui Zhang
提交者:
GitHub
7月 20, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #711 from PaddlePaddle/ds2-en
libri s0 w/ spec-aug result
上级
64cfbcc1
87048d1b
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
13 addition
and
2 deletion
+13
-2
examples/dataset/aishell/aishell.py
examples/dataset/aishell/aishell.py
+12
-2
examples/librispeech/s0/README.md
examples/librispeech/s0/README.md
+1
-0
未找到文件。
examples/dataset/aishell/aishell.py
浏览文件 @
4ce08040
...
@@ -34,6 +34,8 @@ URL_ROOT = 'http://www.openslr.org/resources/33'
...
@@ -34,6 +34,8 @@ URL_ROOT = 'http://www.openslr.org/resources/33'
# URL_ROOT = 'https://openslr.magicdatatech.com/resources/33'
# URL_ROOT = 'https://openslr.magicdatatech.com/resources/33'
DATA_URL
=
URL_ROOT
+
'/data_aishell.tgz'
DATA_URL
=
URL_ROOT
+
'/data_aishell.tgz'
MD5_DATA
=
'2f494334227864a8a8fec932999db9d8'
MD5_DATA
=
'2f494334227864a8a8fec932999db9d8'
RESOURCE_URL
=
URL_ROOT
+
'/resource_aishell.tgz'
MD5_RESOURCE
=
'957d480a0fcac85fc18e550756f624e5'
parser
=
argparse
.
ArgumentParser
(
description
=
__doc__
)
parser
=
argparse
.
ArgumentParser
(
description
=
__doc__
)
parser
.
add_argument
(
parser
.
add_argument
(
...
@@ -110,7 +112,7 @@ def create_manifest(data_dir, manifest_path_prefix):
...
@@ -110,7 +112,7 @@ def create_manifest(data_dir, manifest_path_prefix):
print
(
f
"
{
total_sec
/
total_num
}
sec/utt"
,
file
=
f
)
print
(
f
"
{
total_sec
/
total_num
}
sec/utt"
,
file
=
f
)
def
prepare_dataset
(
url
,
md5sum
,
target_dir
,
manifest_path
):
def
prepare_dataset
(
url
,
md5sum
,
target_dir
,
manifest_path
=
None
):
"""Download, unpack and create manifest file."""
"""Download, unpack and create manifest file."""
data_dir
=
os
.
path
.
join
(
target_dir
,
'data_aishell'
)
data_dir
=
os
.
path
.
join
(
target_dir
,
'data_aishell'
)
if
not
os
.
path
.
exists
(
data_dir
):
if
not
os
.
path
.
exists
(
data_dir
):
...
@@ -124,7 +126,9 @@ def prepare_dataset(url, md5sum, target_dir, manifest_path):
...
@@ -124,7 +126,9 @@ def prepare_dataset(url, md5sum, target_dir, manifest_path):
else
:
else
:
print
(
"Skip downloading and unpacking. Data already exists in %s."
%
print
(
"Skip downloading and unpacking. Data already exists in %s."
%
target_dir
)
target_dir
)
create_manifest
(
data_dir
,
manifest_path
)
if
manifest_path
:
create_manifest
(
data_dir
,
manifest_path
)
def
main
():
def
main
():
...
@@ -137,6 +141,12 @@ def main():
...
@@ -137,6 +141,12 @@ def main():
target_dir
=
args
.
target_dir
,
target_dir
=
args
.
target_dir
,
manifest_path
=
args
.
manifest_prefix
)
manifest_path
=
args
.
manifest_prefix
)
prepare_dataset
(
url
=
RESOURCE_URL
,
md5sum
=
MD5_RESOURCE
,
target_dir
=
args
.
target_dir
,
manifest_path
=
None
)
print
(
"Data download and manifest prepare done!"
)
print
(
"Data download and manifest prepare done!"
)
...
...
examples/librispeech/s0/README.md
浏览文件 @
4ce08040
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
| Model | Params | release | Config | Test set | Loss | WER |
| Model | Params | release | Config | Test set | Loss | WER |
| --- | --- | --- | --- | --- | --- | --- |
| --- | --- | --- | --- | --- | --- | --- |
| DeepSpeech2 | 42.96M | 2.2.0 | conf/deepspeech2.yaml + spec_aug | 14.49190807 | test-clean | 0.067283 |
| DeepSpeech2 | 42.96M | 2.1.0 | conf/deepspeech2.yaml | 15.184467315673828 | test-clean | 0.072154 |
| DeepSpeech2 | 42.96M | 2.1.0 | conf/deepspeech2.yaml | 15.184467315673828 | test-clean | 0.072154 |
| DeepSpeech2 | 42.96M | 2.0.0 | conf/deepspeech2.yaml | - | test-clean | 0.073973 |
| DeepSpeech2 | 42.96M | 2.0.0 | conf/deepspeech2.yaml | - | test-clean | 0.073973 |
| DeepSpeech2 | 42.96M | 1.8.5 | - | test-clean | - | 0.074939 |
| DeepSpeech2 | 42.96M | 1.8.5 | - | test-clean | - | 0.074939 |
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录