Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
99dfe045
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看板
提交
99dfe045
编写于
8月 16, 2021
作者:
H
Hui Zhang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test w/ all example
上级
25c07e3f
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
10 addition
and
10 deletion
+10
-10
deepspeech/exps/u2/model.py
deepspeech/exps/u2/model.py
+6
-6
examples/librispeech/s1/README.md
examples/librispeech/s1/README.md
+1
-1
examples/librispeech/s1/conf/transformer.yaml
examples/librispeech/s1/conf/transformer.yaml
+1
-1
examples/librispeech/s1/run.sh
examples/librispeech/s1/run.sh
+1
-1
examples/tiny/s1/conf/transformer.yaml
examples/tiny/s1/conf/transformer.yaml
+1
-1
未找到文件。
deepspeech/exps/u2/model.py
浏览文件 @
99dfe045
...
...
@@ -264,12 +264,12 @@ class U2Trainer(Trainer):
config
.
data
.
manifest
=
config
.
data
.
test_manifest
# filter test examples, will cause less examples, but no mismatch with training
# and can use large batch size , save training time, so filter test egs now.
#
config.data.min_input_len = 0.0 # second
#
config.data.max_input_len = float('inf') # second
#
config.data.min_output_len = 0.0 # tokens
#
config.data.max_output_len = float('inf') # tokens
#
config.data.min_output_input_ratio = 0.00
#
config.data.max_output_input_ratio = float('inf')
config
.
data
.
min_input_len
=
0.0
# second
config
.
data
.
max_input_len
=
float
(
'inf'
)
# second
config
.
data
.
min_output_len
=
0.0
# tokens
config
.
data
.
max_output_len
=
float
(
'inf'
)
# tokens
config
.
data
.
min_output_input_ratio
=
0.00
config
.
data
.
max_output_input_ratio
=
float
(
'inf'
)
test_dataset
=
ManifestDataset
.
from_config
(
config
)
# return text ord id
...
...
examples/librispeech/s1/README.md
浏览文件 @
99dfe045
...
...
@@ -21,7 +21,6 @@
| --- | --- | --- | --- | --- | --- | --- | --- |
| conformer | 47.63 M | conf/conformer.yaml | spec_aug + shift | test-clean-all | attention | 6.35 | 0.057117 |
## Chunk Conformer
| Model | Params | Config | Augmentation| Test set | Decode method | Chunk Size & Left Chunks | Loss | WER |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
...
...
@@ -40,3 +39,4 @@
| Model | Params | Config | Augmentation| Test set | Decode method | Loss | WER |
| --- | --- | --- | --- | --- | --- | --- | --- |
| transformer | 32.52 M | conf/transformer.yaml | spec_aug + shift | test-clean-all | attention | 6.98 | 0.066500 |
| transformer | 32.52 M | conf/transformer.yaml | spec_aug + shift | test-clean-all | attention | 7.63 | 0.056832 |
examples/librispeech/s1/conf/transformer.yaml
浏览文件 @
99dfe045
...
...
@@ -4,7 +4,7 @@ data:
dev_manifest
:
data/manifest.dev
test_manifest
:
data/manifest.test-clean
min_input_len
:
0.5
# second
max_input_len
:
2
0.0
# second
max_input_len
:
3
0.0
# second
min_output_len
:
0.0
# tokens
max_output_len
:
400.0
# tokens
min_output_input_ratio
:
0.05
...
...
examples/librispeech/s1/run.sh
浏览文件 @
99dfe045
...
...
@@ -5,7 +5,7 @@ source path.sh
stage
=
0
stop_stage
=
100
conf_path
=
conf/transformer.yaml
avg_num
=
30
avg_num
=
5
source
${
MAIN_ROOT
}
/utils/parse_options.sh
||
exit
1
;
avg_ckpt
=
avg_
${
avg_num
}
...
...
examples/tiny/s1/conf/transformer.yaml
浏览文件 @
99dfe045
...
...
@@ -14,7 +14,7 @@ collator:
mean_std_filepath
:
"
"
vocab_filepath
:
data/vocab.txt
unit_type
:
'
spm'
spm_model_prefix
:
'
data/bpe_unigram_20
2
'
spm_model_prefix
:
'
data/bpe_unigram_20
0
'
augmentation_config
:
conf/augmentation.json
batch_size
:
4
raw_wav
:
True
# use raw_wav or kaldi feature
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录