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

swap wget to curl in Scala scripts #17041

Merged
merged 2 commits into from
Dec 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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