From af21c0f7f4516cce406a4315a78958ec0327ea3a Mon Sep 17 00:00:00 2001 From: Evan Shelhamer Date: Wed, 26 Feb 2014 20:03:46 -0800 Subject: [PATCH] fix examples shell scripts: too many dollar signs, not enough coffee --- examples/imagenet/create_imagenet.sh | 4 ++-- examples/imagenet/make_imagenet_mean.sh | 4 ++-- examples/imagenet/resume_training.sh | 2 +- examples/imagenet/train_imagenet.sh | 2 +- examples/lenet/create_mnist.sh | 4 ++-- examples/lenet/train_lenet.sh | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/imagenet/create_imagenet.sh b/examples/imagenet/create_imagenet.sh index 311e490..a1bcb7b 100755 --- a/examples/imagenet/create_imagenet.sh +++ b/examples/imagenet/create_imagenet.sh @@ -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..." diff --git a/examples/imagenet/make_imagenet_mean.sh b/examples/imagenet/make_imagenet_mean.sh index b316f65..f3d69cf 100755 --- a/examples/imagenet/make_imagenet_mean.sh +++ b/examples/imagenet/make_imagenet_mean.sh @@ -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 diff --git a/examples/imagenet/resume_training.sh b/examples/imagenet/resume_training.sh index 93c9868..2b3b403 100755 --- a/examples/imagenet/resume_training.sh +++ b/examples/imagenet/resume_training.sh @@ -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 diff --git a/examples/imagenet/train_imagenet.sh b/examples/imagenet/train_imagenet.sh index ca60479..0d2563b 100755 --- a/examples/imagenet/train_imagenet.sh +++ b/examples/imagenet/train_imagenet.sh @@ -1,6 +1,6 @@ #!/usr/bin/env sh -$TOOLS=../../build/tools +TOOLS=../../build/tools GLOG_logtostderr=1 $TOOLS/train_net.bin imagenet_solver.prototxt diff --git a/examples/lenet/create_mnist.sh b/examples/lenet/create_mnist.sh index ed4d693..1190fbb 100755 --- a/examples/lenet/create_mnist.sh +++ b/examples/lenet/create_mnist.sh @@ -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..." diff --git a/examples/lenet/train_lenet.sh b/examples/lenet/train_lenet.sh index 9967610..c30fc3e 100755 --- a/examples/lenet/train_lenet.sh +++ b/examples/lenet/train_lenet.sh @@ -1,5 +1,5 @@ #!/usr/bin/env sh -$TOOLS=../../build/tools +TOOLS=../../build/tools GLOG_logtostderr=1 $TOOLS/train_net.bin lenet_solver.prototxt -- 2.7.4