train a ClariNet model with LJspeech and a trained WaveNet model.
train a ClariNet model with LJspeech and a trained WaveNet model.
optional arguments:
optional arguments:
-h, --help show this help message and exit
-h, --help show this help message and exit
--config CONFIG path of the config file.
--config CONFIG path of the config file.
--device DEVICE device to use.
--device DEVICE device to use.
--output OUTPUT path to save student.
--output OUTPUT path to save student.
--data DATA path of LJspeech dataset.
--data DATA path of LJspeech dataset.
--resume RESUME checkpoint to load from.
--checkpoint CHECKPOINT checkpoint to load from.
--wavenet WAVENET wavenet checkpoint to use.
--wavenet WAVENET wavenet checkpoint to use.
```
```
-`--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.
-`--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).
-`--resume` is the path of the checkpoint. If it is provided, the model would load the checkpoint before trainig.
-`--checkpoint` is the path of the checkpoint. If it is provided, the model would load the checkpoint before trainig.
-`--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
...
@@ -53,6 +53,8 @@ optional arguments:
...
@@ -53,6 +53,8 @@ optional arguments:
└── log # tensorboard log
└── log # tensorboard log
```
```
If `checkpoints` is not empty and argument `--checkpoint` is not specified, the model will be resumed from the latest checkpoint at the beginning of training.
-`--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.
-`--wavenet` is the path of the wavenet checkpoint to load. If you do not specify `--resume`, then this must be provided.
-`--wavenet` is the path of the wavenet checkpoint to load. If you do not specify `--resume`, then this must be provided.
-s DATA, --data DATA The path of the LJSpeech dataset.
-s DATA, --data DATA The path of the LJSpeech dataset.
--checkpoint CHECKPOINT checkpoint to load
-r RESUME, --resume RESUME
-o OUTPUT, --output OUTPUT The directory to save result.
checkpoint to load
-g DEVICE, --device DEVICE device to use
-o OUTPUT, --output OUTPUT
The directory to save result.
-g DEVICE, --device DEVICE
device to use
```
```
-`--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.
-`--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).
-`--resume` is the path of the checkpoint. If it is provided, the model would load the checkpoint before trainig.
-`--checkpoint` is the path of the checkpoint. If it is provided, the model would load the checkpoint before trainig.
-`--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
...
@@ -67,6 +64,8 @@ optional arguments:
...
@@ -67,6 +64,8 @@ optional arguments:
└── waveform # waveform (.wav files)
└── waveform # waveform (.wav files)
```
```
If `checkpoints` is not empty and argument `--checkpoint` is not specified, the model will be resumed from the latest checkpoint at the beginning of training.
-`--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.
--checkpoint CHECKPOINT checkpoint to resume from.
```
```
-`--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.
-`--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).
-`--resume` is the path of the checkpoint. If it is provided, the model would load the checkpoint before training.
-`--checkpoint` is the path of the checkpoint. If it is provided, the model would load the checkpoint before training.
-`--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
...
@@ -51,6 +51,8 @@ optional arguments:
...
@@ -51,6 +51,8 @@ optional arguments:
└── log # tensorboard log
└── log # tensorboard log
```
```
If `checkpoints` is not empty and argument `--checkpoint` is not specified, the model will be resumed from the latest checkpoint at the beginning of training.
-`--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.