|
|
@ -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
|
|
|
|