From 37b794547468bf7b70f5c00d679fd5d4da25fc48 Mon Sep 17 00:00:00 2001 From: Edresson Casanova Date: Mon, 23 Oct 2023 11:39:17 -0300 Subject: [PATCH] Update XTTS train not implemented error to point to the XTTS docs --- TTS/tts/models/xtts.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/TTS/tts/models/xtts.py b/TTS/tts/models/xtts.py index 1031e4bd..40fce765 100644 --- a/TTS/tts/models/xtts.py +++ b/TTS/tts/models/xtts.py @@ -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")