提交 616219ac 编写于 作者: C chenfeiyu

update configs

上级 51fee991
data: data:
batch_size: 4 batch_size: 8
train_clip_seconds: 0.5 train_clip_seconds: 0.5
sample_rate: 22050 sample_rate: 22050
hop_length: 256 hop_length: 256
......
...@@ -23,7 +23,7 @@ The model consists of an encoder, a decoder and a converter (and a speaker embed ...@@ -23,7 +23,7 @@ The model consists of an encoder, a decoder and a converter (and a speaker embed
```text ```text
├── data.py data_processing ├── data.py data_processing
├── ljspeech.yaml (example) configuration file ├── configs/ (example) configuration files
├── sentences.txt sample sentences ├── sentences.txt sample sentences
├── synthesis.py script to synthesize waveform from text ├── synthesis.py script to synthesize waveform from text
├── train.py script to train a model ├── train.py script to train a model
...@@ -72,7 +72,7 @@ optional arguments: ...@@ -72,7 +72,7 @@ optional arguments:
example script: example script:
```bash ```bash
python train.py --config=./ljspeech.yaml --data=./LJSpeech-1.1/ --output=experiment --device=0 python train.py --config=configs/ljspeech.yaml --data=./LJSpeech-1.1/ --output=experiment --device=0
``` ```
You can monitor training log via tensorboard, using the script below. You can monitor training log via tensorboard, using the script below.
...@@ -110,5 +110,5 @@ optional arguments: ...@@ -110,5 +110,5 @@ optional arguments:
example script: example script:
```bash ```bash
python synthesis.py --config=./ljspeech.yaml --device=0 experiment/checkpoints/model_step_005000000 sentences.txt generated python synthesis.py --config=configs/ljspeech.yaml --device=0 experiment/checkpoints/model_step_005000000 sentences.txt generated
``` ```
...@@ -30,7 +30,7 @@ train: ...@@ -30,7 +30,7 @@ train:
snap_interval: 10000 snap_interval: 10000
eval_interval: 10000 eval_interval: 10000
max_iterations: 200000 max_iterations: 2000000
data: data:
batch_size: 4 batch_size: 32
train_clip_seconds: 0.5 train_clip_seconds: 0.5
sample_rate: 22050 sample_rate: 22050
hop_length: 256 hop_length: 256
...@@ -30,7 +30,7 @@ train: ...@@ -30,7 +30,7 @@ train:
snap_interval: 10000 snap_interval: 10000
eval_interval: 10000 eval_interval: 10000
max_iterations: 200000 max_iterations: 2000000
...@@ -30,7 +30,7 @@ train: ...@@ -30,7 +30,7 @@ train:
snap_interval: 10000 snap_interval: 10000
eval_interval: 10000 eval_interval: 10000
max_iterations: 200000 max_iterations: 2000000
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册