librispeech.py

pull/3088/head
th.zhang 2 years ago
parent ac0864515b
commit 7658e54c47

@ -133,7 +133,7 @@ def create_manifest(data_dir, manifest_path):
def prepare_dataset(url, md5sum, target_dir, manifest_path): def prepare_dataset(url, md5sum, target_dir, manifest_path):
"""Download, unpack and create summmary manifest file. """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 # download
filepath = download(url, md5sum, target_dir) filepath = download(url, md5sum, target_dir)
# unpack # unpack

Loading…
Cancel
Save