提交 a4f2afea 编写于 作者: Z zhaokexin01

Update README.md

上级 603209b5
...@@ -52,10 +52,10 @@ optional arguments: ...@@ -52,10 +52,10 @@ optional arguments:
device to use device to use
``` ```
1. `--config` is the configuration file to use. The provided `ljspeech.yaml` can be used directly. And you can change some values in the configuration file and train the model with a different config. - `--config` is the configuration file to use. The provided `ljspeech.yaml` can be used directly. And you can change some values in the configuration file and train the model with a different config.
2. `--data` is the path of the LJSpeech dataset, the extracted folder from the downloaded archive (the folder which contains metadata.txt). - `--data` is the path of the LJSpeech dataset, the extracted folder from the downloaded archive (the folder which contains metadata.txt).
3. `--resume` is the path of the checkpoint. If it is provided, the model would load the checkpoint before trainig. - `--resume` is the path of the checkpoint. If it is provided, the model would load the checkpoint before trainig.
4. `--output` is the directory to save results, all results are saved in this directory. The structure of the output directory is shown below. - `--output` is the directory to save results, all results are saved in this directory. The structure of the output directory is shown below.
```text ```text
├── checkpoints # checkpoint ├── checkpoints # checkpoint
...@@ -67,7 +67,7 @@ optional arguments: ...@@ -67,7 +67,7 @@ optional arguments:
└── waveform # waveform (.wav files) └── waveform # waveform (.wav files)
``` ```
5. `--device` is the device (gpu id) to use for training. `-1` means CPU. - `--device` is the device (gpu id) to use for training. `-1` means CPU.
Example script: Example script:
...@@ -101,11 +101,11 @@ optional arguments: ...@@ -101,11 +101,11 @@ optional arguments:
device to use device to use
``` ```
1. `--config` is the configuration file to use. You should use the same configuration with which you train you model. - `--config` is the configuration file to use. You should use the same configuration with which you train you model.
2. `checkpoint` is the checkpoint to load. - `checkpoint` is the checkpoint to load.
3. `text`is the text file to synthesize. - `text`is the text file to synthesize.
4. `output_path` is the directory to save results. The output path contains the generated audio files (`*.wav`) and attention plots (*.png) for each sentence. - `output_path` is the directory to save results. The output path contains the generated audio files (`*.wav`) and attention plots (*.png) for each sentence.
5. `--device` is the device (gpu id) to use for training. `-1` means CPU. - `--device` is the device (gpu id) to use for training. `-1` means CPU.
Example script: Example script:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册