mirror of
https://github.com/liuhaozhe6788/voice-cloning-collab.git
synced 2026-05-18 05:04:51 +02:00
修改合成器输出图表的路径名称
This commit is contained in:
@@ -242,8 +242,8 @@ if __name__ == '__main__':
|
||||
breaks = [spec.shape[1] for spec in specs]
|
||||
spec = np.concatenate(specs, axis=1)
|
||||
|
||||
if not os.path.exists("tts_results"):
|
||||
os.mkdir("tts_results")
|
||||
if not os.path.exists("syn_results"):
|
||||
os.mkdir("syn_results")
|
||||
save_attention(alignments.detach().cpu().numpy(), "syn_results/attention")
|
||||
save_spectrogram(spec, "syn_results/mel")
|
||||
print("Created the mel spectrogram")
|
||||
|
||||
Reference in New Issue
Block a user