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}"
TARBALL="flower_photos.tgz"
if [ ! -f ${TARBALL} ]; then
echo "Downloading flower data set."
wget -O ${TARBALL} "${DATA_URL}"
curl -o ${TARBALL} "${DATA_URL}"
else
echo "Skipping download of flower data."
fi
......
......@@ -53,7 +53,7 @@ cd "${DATA_DIR}"
TARBALL="flower_photos.tgz"
if [ ! -f ${TARBALL} ]; then
echo "Downloading flower data set."
wget -O ${TARBALL} "${DATA_URL}"
curl -o ${TARBALL} "${DATA_URL}"
else
echo "Skipping download of flower data."
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