Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
c1395e3a
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,发现更多精彩内容 >>
提交
c1395e3a
编写于
7月 14, 2022
作者:
小湉湉
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add synthesize for ernie_sat aishell3 and aishell3_vctk, test=tts
上级
72fa8176
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
85 addition
and
3 deletion
+85
-3
examples/aishell3/ernie_sat/local/synthesize.sh
examples/aishell3/ernie_sat/local/synthesize.sh
+42
-1
examples/aishell3/tts3/local/synthesize.sh
examples/aishell3/tts3/local/synthesize.sh
+1
-1
examples/aishell3_vctk/ernie_sat/local/synthesize.sh
examples/aishell3_vctk/ernie_sat/local/synthesize.sh
+42
-1
未找到文件。
examples/aishell3/ernie_sat/local/synthesize.sh
浏览文件 @
c1395e3a
#!/bin/bash
#!/bin/bash
\ No newline at end of file
config_path
=
$1
train_output_path
=
$2
ckpt_name
=
$3
stage
=
1
stop_stage
=
1
# pwgan
if
[
${
stage
}
-le
0
]
&&
[
${
stop_stage
}
-ge
0
]
;
then
FLAGS_allocator_strategy
=
naive_best_fit
\
FLAGS_fraction_of_gpu_memory_to_use
=
0.01
\
python3
${
BIN_DIR
}
/synthesize.py
\
--erniesat_config
=
${
config_path
}
\
--erniesat_ckpt
=
${
train_output_path
}
/checkpoints/
${
ckpt_name
}
\
--erniesat_stat
=
dump/train/speech_stats.npy
\
--voc
=
pwgan_aishell3
\
--voc_config
=
pwg_aishell3_ckpt_0.5/default.yaml
\
--voc_ckpt
=
pwg_aishell3_ckpt_0.5/snapshot_iter_1000000.pdz
\
--voc_stat
=
pwg_aishell3_ckpt_0.5/feats_stats.npy
\
--test_metadata
=
dump/test/norm/metadata.jsonl
\
--output_dir
=
${
train_output_path
}
/test
\
--phones_dict
=
dump/phone_id_map.txt
fi
# hifigan
if
[
${
stage
}
-le
1
]
&&
[
${
stop_stage
}
-ge
1
]
;
then
FLAGS_allocator_strategy
=
naive_best_fit
\
FLAGS_fraction_of_gpu_memory_to_use
=
0.01
\
python3
${
BIN_DIR
}
/synthesize.py
\
--erniesat_config
=
${
config_path
}
\
--erniesat_ckpt
=
${
train_output_path
}
/checkpoints/
${
ckpt_name
}
\
--erniesat_stat
=
dump/train/speech_stats.npy
\
--voc
=
hifigan_aishell3
\
--voc_config
=
hifigan_aishell3_ckpt_0.2.0/default.yaml
\
--voc_ckpt
=
hifigan_aishell3_ckpt_0.2.0/snapshot_iter_2500000.pdz
\
--voc_stat
=
hifigan_aishell3_ckpt_0.2.0/feats_stats.npy
\
--test_metadata
=
dump/test/norm/metadata.jsonl
\
--output_dir
=
${
train_output_path
}
/test
\
--phones_dict
=
dump/phone_id_map.txt
fi
examples/aishell3/tts3/local/synthesize.sh
浏览文件 @
c1395e3a
...
@@ -37,7 +37,7 @@ if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then
...
@@ -37,7 +37,7 @@ if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then
--am_stat
=
dump/train/speech_stats.npy
\
--am_stat
=
dump/train/speech_stats.npy
\
--voc
=
hifigan_aishell3
\
--voc
=
hifigan_aishell3
\
--voc_config
=
hifigan_aishell3_ckpt_0.2.0/default.yaml
\
--voc_config
=
hifigan_aishell3_ckpt_0.2.0/default.yaml
\
--voc_ckpt
=
hifigan_aishell3_ckpt_0.2.0/snapshot_iter_2500000.pd
\
--voc_ckpt
=
hifigan_aishell3_ckpt_0.2.0/snapshot_iter_2500000.pd
z
\
--voc_stat
=
hifigan_aishell3_ckpt_0.2.0/feats_stats.npy
\
--voc_stat
=
hifigan_aishell3_ckpt_0.2.0/feats_stats.npy
\
--test_metadata
=
dump/test/norm/metadata.jsonl
\
--test_metadata
=
dump/test/norm/metadata.jsonl
\
--output_dir
=
${
train_output_path
}
/test
\
--output_dir
=
${
train_output_path
}
/test
\
...
...
examples/aishell3_vctk/ernie_sat/local/synthesize.sh
浏览文件 @
c1395e3a
#!/bin/bash
#!/bin/bash
\ No newline at end of file
config_path
=
$1
train_output_path
=
$2
ckpt_name
=
$3
stage
=
1
stop_stage
=
1
# pwgan
if
[
${
stage
}
-le
0
]
&&
[
${
stop_stage
}
-ge
0
]
;
then
FLAGS_allocator_strategy
=
naive_best_fit
\
FLAGS_fraction_of_gpu_memory_to_use
=
0.01
\
python3
${
BIN_DIR
}
/synthesize.py
\
--erniesat_config
=
${
config_path
}
\
--erniesat_ckpt
=
${
train_output_path
}
/checkpoints/
${
ckpt_name
}
\
--erniesat_stat
=
dump/train/speech_stats.npy
\
--voc
=
pwgan_aishell3
\
--voc_config
=
pwg_aishell3_ckpt_0.5/default.yaml
\
--voc_ckpt
=
pwg_aishell3_ckpt_0.5/snapshot_iter_1000000.pdz
\
--voc_stat
=
pwg_aishell3_ckpt_0.5/feats_stats.npy
\
--test_metadata
=
dump/test/norm/metadata.jsonl
\
--output_dir
=
${
train_output_path
}
/test
\
--phones_dict
=
dump/phone_id_map.txt
fi
# hifigan
if
[
${
stage
}
-le
1
]
&&
[
${
stop_stage
}
-ge
1
]
;
then
FLAGS_allocator_strategy
=
naive_best_fit
\
FLAGS_fraction_of_gpu_memory_to_use
=
0.01
\
python3
${
BIN_DIR
}
/synthesize.py
\
--erniesat_config
=
${
config_path
}
\
--erniesat_ckpt
=
${
train_output_path
}
/checkpoints/
${
ckpt_name
}
\
--erniesat_stat
=
dump/train/speech_stats.npy
\
--voc
=
hifigan_aishell3
\
--voc_config
=
hifigan_aishell3_ckpt_0.2.0/default.yaml
\
--voc_ckpt
=
hifigan_aishell3_ckpt_0.2.0/snapshot_iter_2500000.pdz
\
--voc_stat
=
hifigan_aishell3_ckpt_0.2.0/feats_stats.npy
\
--test_metadata
=
dump/test/norm/metadata.jsonl
\
--output_dir
=
${
train_output_path
}
/test
\
--phones_dict
=
dump/phone_id_map.txt
fi
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录