Skip to content

Instantly share code, notes, and snippets.

@gnperdue
Created January 6, 2016 22:40
Show Gist options
  • Save gnperdue/5d6963e862dbac0a05b7 to your computer and use it in GitHub Desktop.
Save gnperdue/5d6963e862dbac0a05b7 to your computer and use it in GitHub Desktop.
Git diff on my Caffe
perdue@mic> git diff
diff --git a/data/mnist/get_mnist.sh b/data/mnist/get_mnist.sh
index 8eb6aee..0219498 100755
--- a/data/mnist/get_mnist.sh
+++ b/data/mnist/get_mnist.sh
@@ -2,6 +2,7 @@
# This scripts downloads the mnist data and unzips it.
DIR="$( cd "$(dirname "$0")" ; pwd -P )"
+echo "Going to $DIR..."
cd $DIR
echo "Downloading..."
diff --git a/examples/mnist/create_mnist.sh b/examples/mnist/create_mnist.sh
index 06ecc27..2c9dd1d 100755
--- a/examples/mnist/create_mnist.sh
+++ b/examples/mnist/create_mnist.sh
@@ -13,9 +13,9 @@ echo "Creating ${BACKEND}..."
rm -rf $EXAMPLE/mnist_train_${BACKEND}
rm -rf $EXAMPLE/mnist_test_${BACKEND}
-$BUILD/convert_mnist_data.bin $DATA/train-images-idx3-ubyte \
+convert_mnist_data.bin $DATA/train-images-idx3-ubyte \
$DATA/train-labels-idx1-ubyte $EXAMPLE/mnist_train_${BACKEND} --backend=${BACKEND}
-$BUILD/convert_mnist_data.bin $DATA/t10k-images-idx3-ubyte \
+convert_mnist_data.bin $DATA/t10k-images-idx3-ubyte \
$DATA/t10k-labels-idx1-ubyte $EXAMPLE/mnist_test_${BACKEND} --backend=${BACKEND}
echo "Done."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment