Skip to content

Commit

Permalink
Fix mnist download url (#4033)
Browse files Browse the repository at this point in the history
Signed-off-by: Enrico Minack <github@enrico.minack.dev>
  • Loading branch information
EnricoMi committed Mar 25, 2024
1 parent 9f88e1d commit 8f70201
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/mxnet/mxnet2_mnist.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_mnist_iterator(rank):
data_dir = "data-%d" % rank
if not os.path.isdir(data_dir):
os.makedirs(data_dir)
zip_file_path = download('http://data.mxnet.io/mxnet/data/mnist.zip',
zip_file_path = download('https://horovod-datasets.s3.amazonaws.com/mnist.zip',
dirname=data_dir)
with zipfile.ZipFile(zip_file_path) as zf:
zf.extractall(data_dir)
Expand Down
2 changes: 1 addition & 1 deletion examples/mxnet/mxnet_mnist.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_mnist_iterator(rank):
data_dir = "data-%d" % rank
if not os.path.isdir(data_dir):
os.makedirs(data_dir)
zip_file_path = download('http://data.mxnet.io/mxnet/data/mnist.zip',
zip_file_path = download('https://horovod-datasets.s3.amazonaws.com/mnist.zip',
dirname=data_dir)
with zipfile.ZipFile(zip_file_path) as zf:
zf.extractall(data_dir)
Expand Down

0 comments on commit 8f70201

Please sign in to comment.