fix examples shell scripts: too many dollar signs, not enough coffee
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Thu, 27 Feb 2014 04:03:46 +0000 (20:03 -0800)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Thu, 27 Feb 2014 04:03:46 +0000 (20:03 -0800)
examples/imagenet/create_imagenet.sh
examples/imagenet/make_imagenet_mean.sh
examples/imagenet/resume_training.sh
examples/imagenet/train_imagenet.sh
examples/lenet/create_mnist.sh
examples/lenet/train_lenet.sh

index 311e490..a1bcb7b 100755 (executable)
@@ -2,8 +2,8 @@
 # Create the imagenet leveldb inputs
 # N.B. set the path to the imagenet train + val data dirs
 
-$TOOLS=../../build/tools
-$DATA=../../data/ilsvrc12
+TOOLS=../../build/tools
+DATA=../../data/ilsvrc12
 
 echo "Creating leveldb..."
 
index b316f65..f3d69cf 100755 (executable)
@@ -2,8 +2,8 @@
 # Compute the mean image from the imagenet training leveldb
 # N.B. this is available in data/ilsvrc12
 
-$TOOLS=../../build/tools
-$DATA=../../data/ilsvrc12
+TOOLS=../../build/tools
+DATA=../../data/ilsvrc12
 
 $TOOLS/compute_image_mean.bin ilsvrc12_train_leveldb $DATA/imagenet_mean.binaryproto
 
index 93c9868..2b3b403 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env sh
 
-$TOOLS=../../build/tools
+TOOLS=../../build/tools
 
 GLOG_logtostderr=1 $TOOLS/train_net.bin \
     imagenet_solver.prototxt caffe_imagenet_train_10000.solverstate
index ca60479..0d2563b 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env sh
 
-$TOOLS=../../build/tools
+TOOLS=../../build/tools
 
 GLOG_logtostderr=1 $TOOLS/train_net.bin imagenet_solver.prototxt
 
index ed4d693..1190fbb 100755 (executable)
@@ -1,8 +1,8 @@
 #!/usr/bin/env sh
 # This script converts the mnist data into leveldb format.
 
-$EXAMPLES=../../build/examples/lenet
-$DATA=../../data/mnist
+EXAMPLES=../../build/examples/lenet
+DATA=../../data/mnist
 
 echo "Creating leveldb..."
 
index 9967610..c30fc3e 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/env sh
 
-$TOOLS=../../build/tools
+TOOLS=../../build/tools
 
 GLOG_logtostderr=1 $TOOLS/train_net.bin lenet_solver.prototxt