提交 1e710ef5 编写于 作者: J Jerryuhoo

Update link_wav.py, test=tts

上级 be99807d
......@@ -65,8 +65,10 @@ def main():
except FileNotFoundError:
print("delete " + name + " because it cannot be found in the dump folder")
os.remove(output_dir / "raw" / name)
continue
except FileExistsError:
print("file " + name + " exists, skip.")
print("file " + name + " exists, skip.")
continue
num_sample = wav.shape[0]
num_frames = gen_mel.shape[0]
wav_path = output_dir / ("raw/" + wave_name)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册