Fix for download-nasnet.sh script

This commit is contained in:
Michael Mayer 2019-06-05 18:48:53 +02:00
parent a6131eeddd
commit 323248ef51

View File

@ -14,7 +14,6 @@ echo "Installing $MODEL_NAME for TensorFlow..."
# Create directories
mkdir -p /tmp/photoprism
mkdir -p assets/resources/nasnet
mkdir -p assets/backups
# Check for update
@ -41,7 +40,7 @@ if [[ -e ${MODEL_PATH} ]]; then
fi
# Unzip model
unzip ${MODEL_ZIP} -d assets/resources/nasnet
unzip ${MODEL_ZIP} -d assets/resources
echo "$MODEL_NAME $TODAY $MODEL_HASH" > ${MODEL_VERSION}
echo "Latest $MODEL_NAME installed."