"Printing, in the only sense with which we are at present concerned, differs from most if not from all the arts and crafts represented in the Exhibition"
)
wav_path=os.path.join(
state_dir,"waveform",
"eval_sample_{}.wav".format(global_step))
sf.write(wav_path,wav,22050)
attn_path=os.path.join(
state_dir,"alignments",
"eval_sample_attn_{}.png".format(global_step))
plot_alignment(attn,attn_path)
# for tensorboard writer, if you want more, write more