summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMalte Stær Nissen <nissen@di.ku.dk>2016-07-13 11:17:54 +0200
committerMalte Stær Nissen <nissen@di.ku.dk>2016-07-13 11:20:04 +0200
commitd9ad2ef90a1cbaa2b22b229539a14341efe59ee6 (patch)
treea8b3ddc68556fbad3a2507cc959dee7b4585522c /data
parent61944afd4e948a4e2b4ef553919a886a8a8b8246 (diff)
downloadcaffeonacl-d9ad2ef90a1cbaa2b22b229539a14341efe59ee6.tar.gz
caffeonacl-d9ad2ef90a1cbaa2b22b229539a14341efe59ee6.tar.bz2
caffeonacl-d9ad2ef90a1cbaa2b22b229539a14341efe59ee6.zip
Support spaces in path when downloading ILSVRC12 and MNIST
Diffstat (limited to 'data')
-rwxr-xr-xdata/ilsvrc12/get_ilsvrc_aux.sh2
-rwxr-xr-xdata/mnist/get_mnist.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/data/ilsvrc12/get_ilsvrc_aux.sh b/data/ilsvrc12/get_ilsvrc_aux.sh
index 90935f25..dc0d0a72 100755
--- a/data/ilsvrc12/get_ilsvrc_aux.sh
+++ b/data/ilsvrc12/get_ilsvrc_aux.sh
@@ -8,7 +8,7 @@
# - the training splits with labels
DIR="$( cd "$(dirname "$0")" ; pwd -P )"
-cd $DIR
+cd "$DIR"
echo "Downloading..."
diff --git a/data/mnist/get_mnist.sh b/data/mnist/get_mnist.sh
index 6d875219..ecadffa4 100755
--- a/data/mnist/get_mnist.sh
+++ b/data/mnist/get_mnist.sh
@@ -2,7 +2,7 @@
# This scripts downloads the mnist data and unzips it.
DIR="$( cd "$(dirname "$0")" ; pwd -P )"
-cd $DIR
+cd "$DIR"
echo "Downloading..."