File size: 389 Bytes
ad16788 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
#!/usr/bin/env python3
from espnet2.tasks.tts import TTSTask
def get_parser():
parser = TTSTask.get_parser()
return parser
def main(cmd=None):
"""TTS training
Example:
% python tts_train.py asr --print_config --optim adadelta
% python tts_train.py --config conf/train_asr.yaml
"""
TTSTask.main(cmd=cmd)
if __name__ == "__main__":
main()
|