Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change the wget method in run.sh of deep_speech2 #184

Merged
merged 1 commit into from
Aug 2, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deep_speech_2/datasets/librispeech/librispeech.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import distutils.util
import os
import wget
import sys
import tarfile
import argparse
import soundfile
Expand Down Expand Up @@ -66,7 +66,7 @@ def download(url, md5sum, target_dir):
filepath = os.path.join(target_dir, url.split("/")[-1])
if not (os.path.exists(filepath) and md5file(filepath) == md5sum):
print("Downloading %s ..." % url)
wget.download(url, target_dir)
os.system("wget -c " + url + " -P " + target_dir)
print("\nMD5 Chesksum %s ..." % filepath)
if not md5file(filepath) == md5sum:
raise RuntimeError("MD5 checksum failed.")
Expand Down
1 change: 0 additions & 1 deletion deep_speech_2/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
wget==3.2
scipy==0.13.1
resampy==0.1.5
SoundFile==0.9.0.post1
Expand Down