keithito / tacotron

A TensorFlow implementation of Google's Tacotron speech synthesis with pre-trained model (unofficial)
MIT License
2.96k stars 956 forks source link

which parameter defines the max char length in the input text? #334

Open jjoe1 opened 4 years ago

jjoe1 commented 4 years ago

I was trying to look at the hparams.py file, but couldn't find it there. I'm new to the text-to-speech modeling.

How to set max char length, and are all shorter sentences zero-padded during both training/inference?

The encoder_lstm_units in each direction are 256, so does it mean the max char length in text must be 256, If so, how would one synthesize sentences or paragraphs that are much longer in continuous speech?