Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
60c1a1e5
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,发现更多精彩内容 >>
未验证
提交
60c1a1e5
编写于
6月 29, 2022
作者:
小湉湉
提交者:
GitHub
6月 29, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #2087 from yt605155624/add_blank
[TTS]install CPython version monotonic_align before training
上级
bf6a83d8
b2b05a0b
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
56 addition
and
1 deletion
+56
-1
README.md
README.md
+9
-0
README_cn.md
README_cn.md
+10
-0
examples/csmsc/vits/README.md
examples/csmsc/vits/README.md
+31
-0
examples/csmsc/vits/local/synthesize.sh
examples/csmsc/vits/local/synthesize.sh
+1
-1
examples/csmsc/vits/local/train.sh
examples/csmsc/vits/local/train.sh
+5
-0
未找到文件。
README.md
浏览文件 @
60c1a1e5
(
[
简体中文
](
./README_cn.md
)
|English)
<p
align=
"center"
>
<img
src=
"./docs/images/PaddleSpeech_logo.png"
/>
...
...
@@ -494,6 +495,14 @@ PaddleSpeech supports a series of most popular models. They are summarized in [r
<a
href =
"./examples/aishell3/vc1"
>
ge2e-fastspeech2-aishell3
</a>
</td>
</tr>
<tr>
<td
rowspan=
"3"
>
End-to-End
</td>
<td>
VITS
</td>
<td
>
CSMSC
</td>
<td>
<a
href =
"./examples/csmsc/vits"
>
VITS-csmsc
</a>
</td>
</tr>
</tbody>
</table>
...
...
README_cn.md
浏览文件 @
60c1a1e5
(简体中文|
[
English
](
./README.md
)
)
<p
align=
"center"
>
<img
src=
"./docs/images/PaddleSpeech_logo.png"
/>
...
...
@@ -481,6 +482,15 @@ PaddleSpeech 的 **语音合成** 主要包含三个模块:文本前端、声
<a
href =
"./examples/aishell3/vc1"
>
ge2e-fastspeech2-aishell3
</a>
</td>
</tr>
</tr>
<tr>
<td
rowspan=
"3"
>
端到端
</td>
<td>
VITS
</td>
<td
>
CSMSC
</td>
<td>
<a
href =
"./examples/csmsc/vits"
>
VITS-csmsc
</a>
</td>
</tr>
</tbody>
</table>
...
...
examples/csmsc/vits/README.md
浏览文件 @
60c1a1e5
...
...
@@ -144,3 +144,34 @@ optional arguments:
6.
`--ngpu`
is the number of gpus to use, if ngpu == 0, use cpu.
## Pretrained Model
The pretrained model can be downloaded here:
-
[
vits_csmsc_ckpt_1.1.0.zip
](
https://paddlespeech.bj.bcebos.com/Parakeet/released_models/vits/vits_csmsc_ckpt_1.1.0.zip
)
(
add_blank=true
)
VITS checkpoint contains files listed below.
```
text
vits_csmsc_ckpt_1.1.0
├── default.yaml # default config used to train vitx
├── phone_id_map.txt # phone vocabulary file when training vits
└── snapshot_iter_350000.pdz # model parameters and optimizer states
```
ps: This ckpt is not good enough, a better result is training
You can use the following scripts to synthesize for
`${BIN_DIR}/../sentences.txt`
using pretrained VITS.
```
bash
source
path.sh
add_blank
=
true
FLAGS_allocator_strategy
=
naive_best_fit
\
FLAGS_fraction_of_gpu_memory_to_use
=
0.01
\
python3
${
BIN_DIR
}
/synthesize_e2e.py
\
--config
=
vits_csmsc_ckpt_1.1.0/default.yaml
\
--ckpt
=
vits_csmsc_ckpt_1.1.0/snapshot_iter_350000.pdz
\
--phones_dict
=
vits_csmsc_ckpt_1.1.0/phone_id_map.txt
\
--output_dir
=
exp/default/test_e2e
\
--text
=
${
BIN_DIR
}
/../sentences.txt
\
--add-blank
=
${
add_blank
}
```
examples/csmsc/vits/local/synthesize.sh
浏览文件 @
60c1a1e5
...
...
@@ -15,4 +15,4 @@ if [ ${stage} -le 0 ] && [ ${stop_stage} -ge 0 ]; then
--phones_dict
=
dump/phone_id_map.txt
\
--test_metadata
=
dump/test/norm/metadata.jsonl
\
--output_dir
=
${
train_output_path
}
/test
fi
\ No newline at end of file
fi
examples/csmsc/vits/local/train.sh
浏览文件 @
60c1a1e5
...
...
@@ -3,6 +3,11 @@
config_path
=
$1
train_output_path
=
$2
# install monotonic_align
cd
${
MAIN_ROOT
}
/paddlespeech/t2s/models/vits/monotonic_align
python3 setup.py build_ext
--inplace
cd
-
python3
${
BIN_DIR
}
/train.py
\
--train-metadata
=
dump/train/norm/metadata.jsonl
\
--dev-metadata
=
dump/dev/norm/metadata.jsonl
\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录