@ -108,8 +108,10 @@ pwg_vctk_ckpt_0.1.1
```
```
`./local/synthesize.sh` calls `${BIN_DIR}/../synthesize.py` , which can synthesize waveform from `metadata.jsonl` .
`./local/synthesize.sh` calls `${BIN_DIR}/../synthesize.py` , which can synthesize waveform from `metadata.jsonl` .
```bash
```bash
CUDA_VISIBLE_DEVICES=${gpus} ./local/synthesize.sh ${conf_path} ${train_output_path} ${ckpt_name}
CUDA_VISIBLE_DEVICES=${gpus} ./local/synthesize.sh --stage 0 ${conf_path} ${train_output_path} ${ckpt_name}
```
```
`--stage` controls the vocoder model during synthesis, which can be `0` or `1` , use `pwgan` or `hifigan` model as vocoder.
```text
```text
usage: synthesize.py [-h]
usage: synthesize.py [-h]
[--am {speedyspeech_csmsc,fastspeech2_csmsc,fastspeech2_ljspeech,fastspeech2_aishell3,fastspeech2_vctk,tacotron2_csmsc,tacotron2_ljspeech,tacotron2_aishell3}]
[--am {speedyspeech_csmsc,fastspeech2_csmsc,fastspeech2_ljspeech,fastspeech2_aishell3,fastspeech2_vctk,tacotron2_csmsc,tacotron2_ljspeech,tacotron2_aishell3}]
@ -156,8 +158,10 @@ optional arguments:
```
```
`./local/synthesize_e2e.sh` calls `${BIN_DIR}/../synthesize_e2e.py` , which can synthesize waveform from text file.
`./local/synthesize_e2e.sh` calls `${BIN_DIR}/../synthesize_e2e.py` , which can synthesize waveform from text file.
```bash
```bash
CUDA_VISIBLE_DEVICES=${gpus} ./local/synthesize_e2e.sh ${conf_path} ${train_output_path} ${ckpt_name}
CUDA_VISIBLE_DEVICES=${gpus} ./local/synthesize_e2e.sh --stage 0 ${conf_path} ${train_output_path} ${ckpt_name}
```
```
`--stage` controls the vocoder model during synthesis, which can be `0` or `1` , use `pwgan` or `hifigan` model as vocoder.
```text
```text
usage: synthesize_e2e.py [-h]
usage: synthesize_e2e.py [-h]
[--am {speedyspeech_csmsc,speedyspeech_aishell3,fastspeech2_csmsc,fastspeech2_ljspeech,fastspeech2_aishell3,fastspeech2_vctk,tacotron2_csmsc,tacotron2_ljspeech}]
[--am {speedyspeech_csmsc,speedyspeech_aishell3,fastspeech2_csmsc,fastspeech2_ljspeech,fastspeech2_aishell3,fastspeech2_vctk,tacotron2_csmsc,tacotron2_ljspeech}]