From a834e132b9f7bb4652c0154079730121b8097103 Mon Sep 17 00:00:00 2001 From: iclementine Date: Wed, 31 Mar 2021 19:36:48 +0800 Subject: [PATCH] fix root path --- examples/tacotron2_vctk/vctk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/tacotron2_vctk/vctk.py b/examples/tacotron2_vctk/vctk.py index dd741dd..59675bd 100644 --- a/examples/tacotron2_vctk/vctk.py +++ b/examples/tacotron2_vctk/vctk.py @@ -10,7 +10,8 @@ from parakeet.data import batch_spec, batch_text_id class VCTK(Dataset): def __init__(self, root): - self.root = Path(root).expanduser() + root = Path(root).expanduser() + self.root = root record_path = self.root / "metadata.pickle" self.wav_root = root / "wav" self.mel_root = root / "wav"