Commit b4f4994d authored by Matt Rickard's avatar Matt Rickard Committed by drpngx
Browse files

set -e on bash scripts (#1330)

These scripts should exit immediately if a command exits with a non-zero status.
parent c7967a2c
......@@ -8,6 +8,7 @@
# Usage:
# cd slim
# ./slim/scripts/finetune_inception_v1_on_flowers.sh
set -e
# Where the pre-trained InceptionV1 checkpoint is saved to.
PRETRAINED_CHECKPOINT_DIR=/tmp/checkpoints
......
......@@ -8,6 +8,7 @@
# Usage:
# cd slim
# ./slim/scripts/finetune_inceptionv3_on_flowers.sh
set -e
# Where the pre-trained InceptionV3 checkpoint is saved to.
PRETRAINED_CHECKPOINT_DIR=/tmp/checkpoints
......
......@@ -8,6 +8,7 @@
# Usage:
# cd slim
# ./slim/scripts/finetune_resnet_v1_50_on_flowers.sh
set -e
# Where the pre-trained ResNetV1-50 checkpoint is saved to.
PRETRAINED_CHECKPOINT_DIR=/tmp/checkpoints
......
......@@ -8,6 +8,7 @@
# Usage:
# cd slim
# ./scripts/train_cifar_net_on_mnist.sh
set -e
# Where the checkpoint and logs will be saved to.
TRAIN_DIR=/tmp/cifarnet-model
......
......@@ -8,6 +8,7 @@
# Usage:
# cd slim
# ./slim/scripts/train_lenet_on_mnist.sh
set -e
# Where the checkpoint and logs will be saved to.
TRAIN_DIR=/tmp/lenet-model
......
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