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"