Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
swap wget to curl in Scala scripts (#17041)
Browse files Browse the repository at this point in the history
* swap wget to curl

* fix cifar10
  • Loading branch information
lanking520 authored Dec 12, 2019
1 parent 05af5c4 commit 634f95e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scala-package/core/scripts/get_cifar_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fi

cifar_data_path="$data_path/cifar10.zip"
if [ ! -f "$cifar_data_path" ]; then
wget http://data.mxnet.io/mxnet/data/cifar10.zip -P $data_path
curl -L -o $cifar_data_path http://data.mxnet.io/mxnet/data/cifar10.zip
cd $data_path
unzip -u cifar10.zip
fi
2 changes: 1 addition & 1 deletion scala-package/core/scripts/get_mnist_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fi

mnist_data_path="$data_path/mnist.zip"
if [ ! -f "$mnist_data_path" ]; then
wget http://data.mxnet.io/mxnet/data/mnist.zip -P $data_path
curl -L -o $mnist_data_path http://data.mxnet.io/mxnet/data/mnist.zip
cd $data_path
unzip -u mnist.zip
fi

0 comments on commit 634f95e

Please sign in to comment.