Update XTTS train not implemented error to point to the XTTS docs

This commit is contained in:
Edresson Casanova 2023-10-23 11:39:17 -03:00
parent 1ee8096799
commit 37b7945474
1 changed files with 3 additions and 4 deletions

View File

@ -775,10 +775,10 @@ class Xtts(BaseTTS):
yield wav_chunk
def forward(self):
raise NotImplementedError("XTTS Training is not implemented")
raise NotImplementedError("XTTS has a dedicated trainer, please check the XTTS docs: https://tts.readthedocs.io/en/dev/models/xtts.html#training")
def eval_step(self):
raise NotImplementedError("XTTS Training is not implemented")
raise NotImplementedError("XTTS has a dedicated trainer, please check the XTTS docs: https://tts.readthedocs.io/en/dev/models/xtts.html#training")
@staticmethod
def init_from_config(config: "XttsConfig", **kwargs): # pylint: disable=unused-argument
@ -860,5 +860,4 @@ class Xtts(BaseTTS):
self.gpt.eval()
def train_step(self):
# ToDo: Add here the link of documentation for XTTS FT
raise NotImplementedError("XTTS Training is not implemented")
raise NotImplementedError("XTTS has a dedicated trainer, please check the XTTS docs: https://tts.readthedocs.io/en/dev/models/xtts.html#training")