diff --git a/dataset/librispeech/librispeech.py b/dataset/librispeech/librispeech.py index 32b8746c2..2d6f1763d 100644 --- a/dataset/librispeech/librispeech.py +++ b/dataset/librispeech/librispeech.py @@ -133,7 +133,7 @@ def create_manifest(data_dir, manifest_path): def prepare_dataset(url, md5sum, target_dir, manifest_path): """Download, unpack and create summmary manifest file. """ - if not os.path.exists(os.path.join(target_dir)): + if not os.path.exists(os.path.join(target_dir, "LibriSpeech")): # download filepath = download(url, md5sum, target_dir) # unpack