Skip to content

Commit

Permalink
Fix the MNIST dataset url (#1256)
Browse files Browse the repository at this point in the history
* fix the MNIST dataset url

* amend
  • Loading branch information
lancerts committed May 11, 2024
1 parent e48aaeb commit 851c4cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion cpp/tools/download_mnist.py
Expand Up @@ -77,7 +77,8 @@ def main():
try:
for resource in RESOURCES:
path = os.path.join(options.destination, resource)
url = 'http://yann.lecun.com/exdb/mnist/{}'.format(resource)
# url = 'http://yann.lecun.com/exdb/mnist/{}'.format(resource)
url = 'https://ossci-datasets.s3.amazonaws.com/mnist/{}'.format(resource)
download(path, url, options.quiet)
unzip(path, options.quiet)
except KeyboardInterrupt:
Expand Down
6 changes: 2 additions & 4 deletions run_cpp_examples.sh
Expand Up @@ -157,10 +157,8 @@ function run_all() {
autograd
custom-dataset
regression

# dataset 503 error on yanns site
# dcgan
# mnist
dcgan
mnist

}

Expand Down

0 comments on commit 851c4cf

Please sign in to comment.