Fixup XTTS

This commit is contained in:
Eren G??lge 2023-11-06 18:13:58 +01:00
parent c713a839da
commit 9d54bd7655
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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"):