Skip to content

Commit

Permalink
fix data URL error (apache#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
pluskid committed Feb 28, 2017
1 parent f33f1dc commit 17a5442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function get_mnist_ubyte()
filenames = Dict(map((x) -> x[1] => joinpath(mnist_dir, x[2]), filenames))
if !all(isfile, values(filenames))
cd(mnist_dir) do
mnist_dir = download("http://data.dmlc.ml/mxnet/data/mnist.zip", "mnist.zip")
mnist_dir = download("http://data.mxnet.io/mxnet/data/mnist.zip", "mnist.zip")
try
run(`unzip -u $mnist_dir`)
catch
Expand All @@ -41,7 +41,7 @@ function get_cifar10()
filenames = Dict(map((x) -> x[1] => joinpath(cifar10_dir, x[2]), filenames))
if !all(isfile, values(filenames))
cd(cifar10_dir) do
download("http://data.dmlc.ml/mxnet/data/cifar10.zip", "cifar10.zip")
download("http://data.mxnet.io/mxnet/data/cifar10.zip", "cifar10.zip")
try
run(`unzip -u cifar10.zip`)
catch
Expand Down

0 comments on commit 17a5442

Please sign in to comment.