Update README.md
This commit is contained in:
parent
00cd98437f
commit
2b532e01a6
|
@ -41,17 +41,17 @@ optional arguments:
|
||||||
--resume RESUME checkpoint to resume from.
|
--resume RESUME checkpoint to resume from.
|
||||||
```
|
```
|
||||||
|
|
||||||
1. `--config` is the configuration file to use. The provided configurations 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 configurations 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 training.
|
- `--resume` is the path of the checkpoint. If it is provided, the model would load the checkpoint before training.
|
||||||
4. `--output` is the directory to save results, all result are saved in this directory. The structure of the output directory is shown below.
|
- `--output` is the directory to save results, all result are saved in this directory. The structure of the output directory is shown below.
|
||||||
|
|
||||||
```text
|
```text
|
||||||
├── checkpoints # checkpoint
|
├── checkpoints # checkpoint
|
||||||
└── log # tensorboard log
|
└── log # tensorboard log
|
||||||
```
|
```
|
||||||
|
|
||||||
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:
|
||||||
|
|
||||||
|
@ -84,11 +84,11 @@ optional arguments:
|
||||||
--device DEVICE device to use.
|
--device DEVICE 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. `--data` is the path of the LJspeech dataset. A dataset is not needed for synthesis, but since the input is mel spectrogram, we need to get mel spectrogram from audio files.
|
- `--data` is the path of the LJspeech dataset. A dataset is not needed for synthesis, but since the input is mel spectrogram, we need to get mel spectrogram from audio files.
|
||||||
3. `checkpoint` is the checkpoint to load.
|
- `checkpoint` is the checkpoint to load.
|
||||||
4. `output_path` is the directory to save results. The output path contains the generated audio files (`*.wav`).
|
- `output_path` is the directory to save results. The output path contains the generated audio files (`*.wav`).
|
||||||
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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue