mirror of https://github.com/coqui-ai/TTS.git
fix(freevc): use the specified device for pretrained speaker encoder (#45)
Fixes coqui-ai#3787
This commit is contained in:
parent
063e9e9de9
commit
3a20f4725f
|
@ -382,7 +382,8 @@ class FreeVC(BaseVC):
|
|||
"""Load pretrained speaker encoder model as mentioned in the paper."""
|
||||
logger.info("Loading pretrained speaker encoder model ...")
|
||||
self.enc_spk_ex = SpeakerEncoderEx(
|
||||
"https://github.com/coqui-ai/TTS/releases/download/v0.13.0_models/speaker_encoder.pt"
|
||||
"https://github.com/coqui-ai/TTS/releases/download/v0.13.0_models/speaker_encoder.pt",
|
||||
device=self.device
|
||||
)
|
||||
|
||||
def init_multispeaker(self, config: Coqpit):
|
||||
|
|
Loading…
Reference in New Issue