mirror of https://github.com/coqui-ai/TTS.git
Fixup XTTS
This commit is contained in:
parent
c713a839da
commit
9d54bd7655
|
@ -30,7 +30,7 @@ class XttsConfig(BaseTTSConfig):
|
||||||
which in turn is used to divide the score of the sequence. Since the score is the log likelihood of the sequence (i.e. negative),
|
which in turn is used to divide the score of the sequence. Since the score is the log likelihood of the sequence (i.e. negative),
|
||||||
length_penalty > 0.0 promotes longer sequences, while length_penalty < 0.0 encourages shorter sequences.
|
length_penalty > 0.0 promotes longer sequences, while length_penalty < 0.0 encourages shorter sequences.
|
||||||
|
|
||||||
reperation_penalty (float):
|
repetition_penalty (float):
|
||||||
The parameter for repetition penalty. 1.0 means no penalty. Defaults to `2.0`.
|
The parameter for repetition penalty. 1.0 means no penalty. Defaults to `2.0`.
|
||||||
|
|
||||||
top_p (float):
|
top_p (float):
|
||||||
|
|
|
@ -916,7 +916,7 @@ class Xtts(BaseTTS):
|
||||||
if hasattr(self, "hifigan_decoder"):
|
if hasattr(self, "hifigan_decoder"):
|
||||||
self.hifigan_decoder.eval()
|
self.hifigan_decoder.eval()
|
||||||
if hasattr(self, "ne_hifigan_decoder"):
|
if hasattr(self, "ne_hifigan_decoder"):
|
||||||
self.hifigan_decoder.eval()
|
self.ne_hifigan_decoder.eval()
|
||||||
if hasattr(self, "diffusion_decoder"):
|
if hasattr(self, "diffusion_decoder"):
|
||||||
self.diffusion_decoder.eval()
|
self.diffusion_decoder.eval()
|
||||||
if hasattr(self, "vocoder"):
|
if hasattr(self, "vocoder"):
|
||||||
|
|
Loading…
Reference in New Issue