Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
64cfbcc1
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
大约 2 年 前同步成功
通知
210
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看板
未验证
提交
64cfbcc1
编写于
7月 12, 2021
作者:
H
Hui Zhang
提交者:
GitHub
7月 12, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #705 from PaddlePaddle/fix
Fix librispeech s0
上级
6d7a382c
99e28b8a
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
21 addition
and
8 deletion
+21
-8
examples/aishell/s1/local/download_lm_ch.sh
examples/aishell/s1/local/download_lm_ch.sh
+0
-1
examples/dataset/librispeech/librispeech.py
examples/dataset/librispeech/librispeech.py
+1
-1
examples/librispeech/s0/conf/augmentation.json
examples/librispeech/s0/conf/augmentation.json
+15
-0
examples/librispeech/s1/README.md
examples/librispeech/s1/README.md
+3
-3
examples/librispeech/s1/conf/chunk_conformer.yaml
examples/librispeech/s1/conf/chunk_conformer.yaml
+1
-1
examples/tiny/s1/local/download_lm_en.sh
examples/tiny/s1/local/download_lm_en.sh
+0
-1
tools/Makefile
tools/Makefile
+1
-1
未找到文件。
examples/aishell/s1/local/download_lm_ch.sh
已删除
120000 → 0
浏览文件 @
6d7a382c
../../s0/local/download_lm_ch.sh
\ No newline at end of file
examples/dataset/librispeech/librispeech.py
浏览文件 @
64cfbcc1
...
@@ -114,7 +114,7 @@ def create_manifest(data_dir, manifest_path):
...
@@ -114,7 +114,7 @@ def create_manifest(data_dir, manifest_path):
for
line
in
json_lines
:
for
line
in
json_lines
:
out_file
.
write
(
line
+
'
\n
'
)
out_file
.
write
(
line
+
'
\n
'
)
subset
=
os
.
path
.
splitext
(
manifest_path
)[
1
]
subset
=
manifest_path
with
open
(
subset
+
'.meta'
,
'w'
)
as
f
:
with
open
(
subset
+
'.meta'
,
'w'
)
as
f
:
print
(
f
"
{
subset
}
:"
,
file
=
f
)
print
(
f
"
{
subset
}
:"
,
file
=
f
)
print
(
f
"
{
total_num
}
utts"
,
file
=
f
)
print
(
f
"
{
total_num
}
utts"
,
file
=
f
)
...
...
examples/librispeech/s0/conf/augmentation.json
浏览文件 @
64cfbcc1
...
@@ -15,5 +15,20 @@
...
@@ -15,5 +15,20 @@
"max_shift_ms"
:
5
"max_shift_ms"
:
5
},
},
"prob"
:
1.0
"prob"
:
1.0
},
{
"type"
:
"specaug"
,
"params"
:
{
"F"
:
10
,
"T"
:
50
,
"n_freq_masks"
:
2
,
"n_time_masks"
:
2
,
"p"
:
1.0
,
"W"
:
80
,
"adaptive_number_ratio"
:
0
,
"adaptive_size_ratio"
:
0
,
"max_n_time_masks"
:
20
},
"prob"
:
1.0
}
}
]
]
examples/librispeech/s1/README.md
浏览文件 @
64cfbcc1
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
| Model | Params | Config | Augmentation| Test set | Decode method | Chunk Size & Left Chunks | Loss | WER |
| Model | Params | Config | Augmentation| Test set | Decode method | Chunk Size & Left Chunks | Loss | WER |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| conformer | 47.63 M | conf/chunk_conformer.yaml | spec_aug + shift | test-clean | attention | 16, -1 | 7.01250648 | |
| conformer | 47.63 M | conf/chunk_conformer.yaml | spec_aug + shift | test-clean | attention | 16, -1 | 7.01250648 |
0.069548
|
| conformer | 47.63 M | conf/chunk_conformer.yaml | spec_aug + shift | test-clean | ctc_greedy_search | 16, -1 | 7.01250648 | |
| conformer | 47.63 M | conf/chunk_conformer.yaml | spec_aug + shift | test-clean | ctc_greedy_search | 16, -1 | 7.01250648 |
0.094753
|
| conformer | 47.63 M | conf/chunk_conformer.yaml | spec_aug + shift | test-clean | ctc_prefix_beam_search | 16, -1 | 7.01250648 | |
| conformer | 47.63 M | conf/chunk_conformer.yaml | spec_aug + shift | test-clean | ctc_prefix_beam_search | 16, -1 | 7.01250648 | |
| conformer | 47.63 M | conf/chunk_conformer.yaml | spec_aug + shift | test-clean | attention_rescoring | 16, -1 | 7.01250648 | |
| conformer | 47.63 M | conf/chunk_conformer.yaml | spec_aug + shift | test-clean | attention_rescoring | 16, -1 | 7.01250648 | |
...
...
examples/librispeech/s1/conf/chunk_conf
e
rmer.yaml
→
examples/librispeech/s1/conf/chunk_conf
o
rmer.yaml
浏览文件 @
64cfbcc1
...
@@ -81,7 +81,7 @@ model:
...
@@ -81,7 +81,7 @@ model:
training
:
training
:
n_epoch
:
12
0
n_epoch
:
24
0
accum_grad
:
8
accum_grad
:
8
global_grad_clip
:
5.0
global_grad_clip
:
5.0
optim
:
adam
optim
:
adam
...
...
examples/tiny/s1/local/download_lm_en.sh
已删除
120000 → 0
浏览文件 @
6d7a382c
../../s0/local/download_lm_en.sh
\ No newline at end of file
tools/Makefile
浏览文件 @
64cfbcc1
...
@@ -18,7 +18,7 @@ kenlm.done:
...
@@ -18,7 +18,7 @@ kenlm.done:
apt
install
-y
build-essential cmake libboost-system-dev libboost-thread-dev libboost-program-options-dev libboost-test-dev libeigen3-dev zlib1g-dev libbz2-dev liblzma-dev
apt
install
-y
build-essential cmake libboost-system-dev libboost-thread-dev libboost-program-options-dev libboost-test-dev libeigen3-dev zlib1g-dev libbz2-dev liblzma-dev
apt-get
install
-y
gcc-5 g++-5
&&
update-alternatives
--install
/usr/bin/gcc gcc /usr/bin/gcc-5 50
&&
update-alternatives
--install
/usr/bin/g++ g++ /usr/bin/g++-5 50
apt-get
install
-y
gcc-5 g++-5
&&
update-alternatives
--install
/usr/bin/gcc gcc /usr/bin/gcc-5 50
&&
update-alternatives
--install
/usr/bin/g++ g++ /usr/bin/g++-5 50
test
-d
kenlm
||
wget
-O
- https://kheafield.com/code/kenlm.tar.gz |
tar
xz
test
-d
kenlm
||
wget
-O
- https://kheafield.com/code/kenlm.tar.gz |
tar
xz
mkdir
-p
kenlm/build
&&
cd
kenlm/build
&&
cmake ..
&&
make
-j4
&&
make
install
rm
-rf
kenlm/build
&&
mkdir
-p
kenlm/build
&&
cd
kenlm/build
&&
cmake ..
&&
make
-j4
&&
make
install
source
venv/bin/activate
;
cd
kenlm
&&
python setup.py
install
source
venv/bin/activate
;
cd
kenlm
&&
python setup.py
install
touch
kenlm.done
touch
kenlm.done
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录