Skip to content

Commit 851c4cf

Browse files
authored
Fix the MNIST dataset url (pytorch#1256)
* fix the MNIST dataset url * amend
1 parent e48aaeb commit 851c4cf

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

cpp/tools/download_mnist.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ def main():
7777
try:
7878
for resource in RESOURCES:
7979
path = os.path.join(options.destination, resource)
80-
url = 'http://yann.lecun.com/exdb/mnist/{}'.format(resource)
80+
# url = 'http://yann.lecun.com/exdb/mnist/{}'.format(resource)
81+
url = 'https://ossci-datasets.s3.amazonaws.com/mnist/{}'.format(resource)
8182
download(path, url, options.quiet)
8283
unzip(path, options.quiet)
8384
except KeyboardInterrupt:

run_cpp_examples.sh

+2-4
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,8 @@ function run_all() {
157157
autograd
158158
custom-dataset
159159
regression
160-
161-
# dataset 503 error on yanns site
162-
# dcgan
163-
# mnist
160+
dcgan
161+
mnist
164162

165163
}
166164

0 commit comments

Comments
 (0)