mirror of https://github.com/coqui-ai/TTS.git
Merge pull request #1587 from ribeiromiranda/patch-1
Fixed use_cuda issue in compute_embeddings.pypull/1020/head
commit
71111d14e4
|
@ -110,7 +110,7 @@ class EmbeddingManager(BaseIDManager):
|
|||
self.load_embeddings_from_file(embedding_file_path)
|
||||
|
||||
if encoder_model_path and encoder_config_path:
|
||||
self.init_encoder(encoder_model_path, encoder_config_path)
|
||||
self.init_encoder(encoder_model_path, encoder_config_path, use_cuda)
|
||||
|
||||
@property
|
||||
def embedding_dim(self):
|
||||
|
|
Loading…
Reference in New Issue