Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Parakeet
提交
3bfd1123
P
Parakeet
项目概览
PaddlePaddle
/
Parakeet
通知
8
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
19
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Parakeet
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
19
Issue
19
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
3bfd1123
编写于
3月 10, 2020
作者:
L
liuyibing01
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update WaveFlow README
上级
855e3b2d
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
12 deletion
+8
-12
examples/waveflow/README.md
examples/waveflow/README.md
+8
-12
未找到文件。
examples/waveflow/README.md
浏览文件 @
3bfd1123
...
...
@@ -8,14 +8,14 @@ PaddlePaddle dynamic graph implementation of [WaveFlow: A Compact Flow-based Mod
## Project Structure
```
text
├── configs # yaml configuration files of preset model hyperparameters
├── benchmark.py # benchmark code to test the speed of batched speech synthesis
├──
data.py # dataset and dataloader settings for LJSpeech
├──
synthesis.py # script for speech synthesis
├──
train.py # script for model train
ing
├──
utils.py # helper functions for e.g., model checkpointing
├── waveflow.py # WaveFlow model high level APIs
└── waveflow_modules.py # WaveFlow model implementation
├── configs
# yaml configuration files of preset model hyperparameters
├── benchmark.py
# benchmark code to test the speed of batched speech synthesis
├──
synthesis.py # script for speech synthesis
├──
train.py # script for model training
├──
utils.py # helper functions for e.g., model checkpoint
ing
├──
parakeet/models/waveflow/data.py # dataset and dataloader settings for LJSpeech
├──
parakeet/models/waveflow/
waveflow.py # WaveFlow model high level APIs
└──
parakeet/models/waveflow/
waveflow_modules.py # WaveFlow model implementation
```
## Usage
...
...
@@ -42,7 +42,6 @@ In this example, assume that the path of unzipped LJSpeech dataset is `./data/LJ
### Train on single GPU
```
bash
export
PYTHONPATH
=
"
${
PYTHONPATH
}
:
${
PWD
}
/../../.."
export
CUDA_VISIBLE_DEVICES
=
0
python
-u
train.py
\
--config
=
./configs/waveflow_ljspeech.yaml
\
...
...
@@ -64,7 +63,6 @@ There are three ways to load a checkpoint and resume training (take an example t
### Train on multiple GPUs
```
bash
export
PYTHONPATH
=
"
${
PYTHONPATH
}
:
${
PWD
}
/../../.."
export
CUDA_VISIBLE_DEVICES
=
0,1,2,3
python
-u
-m
paddle.distributed.launch train.py
\
--config
=
./configs/waveflow_ljspeech.yaml
\
...
...
@@ -88,7 +86,6 @@ Check the [Save and load checkpoint](#save-and-load-checkpoints) section on how
The following example will automatically load the latest checkpoint:
```
bash
export
PYTHONPATH
=
"
${
PYTHONPATH
}
:
${
PWD
}
/../../.."
export
CUDA_VISIBLE_DEVICES
=
0
python
-u
synthesis.py
\
--config
=
./configs/waveflow_ljspeech.yaml
\
...
...
@@ -106,7 +103,6 @@ In this example, `--output` specifies where to save the synthesized audios and `
Use the following example to benchmark the speed of batched speech synthesis, which reports how many times faster than real-time:
```
bash
export
PYTHONPATH
=
"
${
PYTHONPATH
}
:
${
PWD
}
/../../.."
export
CUDA_VISIBLE_DEVICES
=
0
python
-u
benchmark.py
\
--config
=
./configs/waveflow_ljspeech.yaml
\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录