Merge pull request #546 from ayush-1506/patch-1

Fix readme and config file
pull/10/head
Eren Gölge 2020-10-21 11:34:26 +02:00 committed by GitHub
commit af6f86252e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -151,15 +151,15 @@ tail -n 1100 metadata_shuf.csv > metadata_val.csv
To train a new model, you need to define your own ```config.json``` file (check the example) and call with the command below. You also set the model architecture in ```config.json```.
```python TTS/bin/train.py --config_path TTS/tts/configs/config.json```
```python TTS/bin/train_tts.py --config_path TTS/tts/configs/config.json```
To fine-tune a model, use ```--restore_path```.
```python TTS/bin/train.py --config_path TTS/tts/configs/config.json --restore_path /path/to/your/model.pth.tar```
```python TTS/bin/train_tts.py --config_path TTS/tts/configs/config.json --restore_path /path/to/your/model.pth.tar```
To continue an old training run, use ```--continue_path```.
```python TTS/bin/train.py --continue_path /path/to/your/run_folder/```
```python TTS/bin/train_tts.py --continue_path /path/to/your/run_folder/```
For multi-GPU training use ```distribute.py```. It enables process based multi-GPU training where each process uses a single GPU.

View File

@ -147,7 +147,8 @@
// with the dictionary being len(dict) <= len(gst_style_tokens).
"gst_embedding_dim": 512,
"gst_num_heads": 4,
"gst_style_tokens": 10
"gst_style_tokens": 10,
"gst_use_speaker_embedding": false
},
// DATASETS