Skip to content

Commit ee68a98

Browse files
author
Caroline Chen
committed
Update download path for speechcommands (#2777)
Summary: previous download link for v0.02 did not download the entire dataset, but only the training dataset, resulting in issues when trying to access the testing or validation data. Pull Request resolved: #2777 Reviewed By: nateanl Differential Revision: D40480605 Pulled By: carolineechen fbshipit-source-id: a594506b4ccfb548a7d5043b716c58463480c103
1 parent 3b1d85d commit ee68a98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

torchaudio/datasets/speechcommands.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
EXCEPT_FOLDER = "_background_noise_"
1414
SAMPLE_RATE = 16000
1515
_CHECKSUMS = {
16-
"https://storage.googleapis.com/download.tensorflow.org/data/speech_commands_v0.01.tar.gz": "743935421bb51cccdb6bdd152e04c5c70274e935c82119ad7faeec31780d811d", # noqa: E501
17-
"https://storage.googleapis.com/download.tensorflow.org/data/speech_commands_v0.02.tar.gz": "af14739ee7dc311471de98f5f9d2c9191b18aedfe957f4a6ff791c709868ff58", # noqa: E501
16+
"http://download.tensorflow.org/data/speech_commands_v0.01.tar.gz": "743935421bb51cccdb6bdd152e04c5c70274e935c82119ad7faeec31780d811d", # noqa: E501
17+
"http://download.tensorflow.org/data/speech_commands_v0.02.tar.gz": "af14739ee7dc311471de98f5f9d2c9191b18aedfe957f4a6ff791c709868ff58", # noqa: E501
1818
}
1919

2020

@@ -85,7 +85,7 @@ def __init__(
8585
"speech_commands_v0.01",
8686
"speech_commands_v0.02",
8787
]:
88-
base_url = "https://storage.googleapis.com/download.tensorflow.org/data/"
88+
base_url = "http://download.tensorflow.org/data/"
8989
ext_archive = ".tar.gz"
9090

9191
url = os.path.join(base_url, url + ext_archive)

0 commit comments

Comments
 (0)