修改合成器输出图表的路径名称

This commit is contained in:
liuhaozhe6788
2023-01-01 16:20:34 +08:00
parent 9ca22a72eb
commit cd933eb354

View File

@@ -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")