MCPcopy
hub / github.com/coqui-ai/TTS / init_from_config

Method init_from_config

TTS/tts/models/xtts.py:705–706  ·  view source on GitHub ↗
(config: "XttsConfig", **kwargs)

Source from the content-addressed store, hash-verified

703
704 @staticmethod
705 def init_from_config(config: "XttsConfig", **kwargs): # pylint: disable=unused-argument
706 return Xtts(config)
707
708 def eval(self): # pylint: disable=redefined-builtin
709 """Sets the model to evaluation mode. Overrides the default eval() method to also set the GPT model to eval mode."""

Callers 15

train_yourtts.pyFile · 0.45
train_vits_tts.pyFile · 0.45
train_vits.pyFile · 0.45
train_glow_tts.pyFile · 0.45
train_tacotron2.pyFile · 0.45
train_yourtts.pyFile · 0.45

Calls 1

XttsClass · 0.85

Tested by 15

_create_dataloaderMethod · 0.36
test_train_eval_logMethod · 0.36
test_test_runMethod · 0.36
test_load_checkpointMethod · 0.36
test_get_criterionMethod · 0.36
test_init_from_configMethod · 0.36
test_init_from_configMethod · 0.36