"git@developer.sourcefind.cn:OpenDAS/d2go.git" did not exist on "8353ad2376a837971fb72e142f992fdf12340e59"
Commit 28f1b92a authored by Alexis Gallagher's avatar Alexis Gallagher Committed by Neal Wu
Browse files

use curl not wget to fetch flower data

curl is pre-installed on the mac and the tensorflow docker image. wget
is not. This change allows this script to run on a stock mac, or in the
tensorflow docker image
parent f4ad5410
...@@ -53,7 +53,7 @@ cd "${DATA_DIR}" ...@@ -53,7 +53,7 @@ cd "${DATA_DIR}"
TARBALL="flower_photos.tgz" TARBALL="flower_photos.tgz"
if [ ! -f ${TARBALL} ]; then if [ ! -f ${TARBALL} ]; then
echo "Downloading flower data set." echo "Downloading flower data set."
wget -O ${TARBALL} "${DATA_URL}" curl -o ${TARBALL} "${DATA_URL}"
else else
echo "Skipping download of flower data." echo "Skipping download of flower data."
fi fi
......
...@@ -53,7 +53,7 @@ cd "${DATA_DIR}" ...@@ -53,7 +53,7 @@ cd "${DATA_DIR}"
TARBALL="flower_photos.tgz" TARBALL="flower_photos.tgz"
if [ ! -f ${TARBALL} ]; then if [ ! -f ${TARBALL} ]; then
echo "Downloading flower data set." echo "Downloading flower data set."
wget -O ${TARBALL} "${DATA_URL}" curl -o ${TARBALL} "${DATA_URL}"
else else
echo "Skipping download of flower data." echo "Skipping download of flower data."
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment