mirror of
https://github.com/wassname/TTS.git
synced 2026-10-27 12:30:27 +08:00
Fix the bug in extract tts spectrogram script
This commit is contained in:
1 parent
05fffb0ebc
commit
bc5db13d06
1 file changed
+1
-1
@@ -138,7 +138,7 @@ def inference(
|
||||
aux_input={"d_vectors": speaker_c, "speaker_ids": speaker_ids},
|
||||
)
|
||||
model_output = outputs["model_outputs"]
|
||||
model_output = model_output.transpose(1, 2).detach().cpu().numpy()
|
||||
model_output = model_output.detach().cpu().numpy()
|
||||
|
||||
elif "tacotron" in model_name:
|
||||
aux_input = {"speaker_ids": speaker_ids, "d_vectors": d_vectors}
|
||||
|
||||
Reference in new issue
Block a user