Skip to content

Commit

Permalink
Minor fix for run-app-tests-pip.sh (#2567)
Browse files Browse the repository at this point in the history
* Fix filename related typo and bug.
  • Loading branch information
qiyuangong authored Jul 16, 2020
1 parent 7e74cd4 commit 2737981
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/run-app-tests-pip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ FILENAME="${ANALYTICS_ZOO_HOME}/apps/image-similarity/miniimageClassification.ta
if [ -f "$FILENAME" ]
then
echo "$FILENAME already exists."
tar -zxvf ${ANALYTICS_ZOO_HOME}/apps/image-similarity/miniimageClassification.tar.gz -C ${ANALYTICS_ZOO_HOME}/apps/image-similarity
else
echo "Downloading images"

Expand Down Expand Up @@ -168,7 +169,7 @@ else

echo "Finished downloading model"
fi
FILENAME=" ${ANALYTICS_ZOO_HOME}/apps/image-similarity/vgg_16_places365/deploy_vgg16_places365.prototxt"
FILENAME="${ANALYTICS_ZOO_HOME}/apps/image-similarity/vgg_16_places365/deploy_vgg16_places365.prototxt"
if [ -f "$FILENAME" ]
then
echo "$FILENAME already exists."
Expand All @@ -179,7 +180,7 @@ else

echo "Finished downloading model"
fi
FILENAME="${ANALYTICS_ZOO_HOME}/apps/image-similarity/vgg_16_places365/vgg16_hybrid1365.caffemodel"
FILENAME="${ANALYTICS_ZOO_HOME}/apps/image-similarity/vgg_16_places365/vgg16_places365.caffemodel"
if [ -f "$FILENAME" ]
then
echo "$FILENAME already exists."
Expand Down

0 comments on commit 2737981

Please sign in to comment.