README update

This commit is contained in:
Eren G 2018-07-11 17:40:30 +02:00
parent 7fad94d8a7
commit f7f424c863
2 changed files with 17 additions and 9 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash
source ../tmp/venv/bin/activate
python train.py --config_path config.json --debug true
python train.py --config_path config.json

View File

@ -29,6 +29,14 @@ Currently TTS provides data loaders for
- [LJ Speech](https://keithito.com/LJ-Speech-Dataset/)
## Training and Finetunning
Split ```metadata.csv``` into train and validation subsets respectively ```metadata_train.csv``` and ```metadata_val.csv```.
```
shuf metadata.csv > metadata_shuf.csv
head -n 12000 metadata_shuf.csv > metadata_train.csv
tail -n 11000 metadata_shuf.csv > metadata_val.csv
```
To train a new model, you need to define a ```config.json``` file (simple template below) and call with the command below.
```train.py --config_path config.json```