Merge branch 'pr/adonispujols/646' into dev

This commit is contained in:
Eren Gölge 2021-02-11 10:37:29 +00:00
commit a3d1e65b34
3 changed files with 5 additions and 5 deletions

View File

@ -66,7 +66,7 @@
}, },
"en": { "en": {
"ljspeech":{ "ljspeech":{
"mulitband-melgan":{ "multiband-melgan":{
"model_file": "1Ty5DZdOc0F7OTGj9oJThYbL5iVu_2G0K", "model_file": "1Ty5DZdOc0F7OTGj9oJThYbL5iVu_2G0K",
"config_file": "1Rd0R_nRCrbjEdpOwq6XwZAktvugiBvmu", "config_file": "1Rd0R_nRCrbjEdpOwq6XwZAktvugiBvmu",
"stats_file": "11oY3Tv0kQtxK_JPgxrfesa99maVXHNxU", "stats_file": "11oY3Tv0kQtxK_JPgxrfesa99maVXHNxU",

View File

@ -77,7 +77,7 @@ def main():
parser.add_argument( parser.add_argument(
'--vocoder_name', '--vocoder_name',
type=str, type=str,
default="vocoder_models/en/ljspeech/mulitband-melgan", default="vocoder_models/en/ljspeech/multiband-melgan",
help= help=
'Name of one of the pre-trained vocoder models in format <language>/<dataset>/<model_name>' 'Name of one of the pre-trained vocoder models in format <language>/<dataset>/<model_name>'
) )

View File

@ -17,10 +17,10 @@ List officially released models.
```python TTS/server/server.py --list_models ``` ```python TTS/server/server.py --list_models ```
Run the server with the official models. Run the server with the official models.
```python TTS/server/server.py --model_name tts_models/en/ljspeech/tacotron2-DCA --vocoder_name vocoder_models/en/ljspeech/mulitband-melgan``` ```python TTS/server/server.py --model_name tts_models/en/ljspeech/tacotron2-DCA --vocoder_name vocoder_models/en/ljspeech/multiband-melgan```
Run the server with the official models on a GPU. Run the server with the official models on a GPU.
```CUDA_VISIBLE_DEVICES="0" python TTS/server/server.py --model_name tts_models/en/ljspeech/tacotron2-DCA --vocoder_name vocoder_models/en/ljspeech/mulitband-melgan --use_cuda True``` ```CUDA_VISIBLE_DEVICES="0" python TTS/server/server.py --model_name tts_models/en/ljspeech/tacotron2-DCA --vocoder_name vocoder_models/en/ljspeech/multiband-melgan --use_cuda True```
Run the server with a custom models. Run the server with a custom models.
```python TTS/server/server.py --tts_checkpoint /path/to/tts/model.pth.tar --tts_config /path/to/tts/config.json --vocoder_checkpoint /path/to/vocoder/model.pth.tar --vocoder_config /path/to/vocoder/config.json``` ```python TTS/server/server.py --tts_checkpoint /path/to/tts/model.pth.tar --tts_config /path/to/tts/config.json --vocoder_checkpoint /path/to/vocoder/model.pth.tar --vocoder_config /path/to/vocoder/config.json```