Clean training script

This commit is contained in:
Christoph Hagen 2022-06-24 12:17:57 +02:00
parent 56b74117ca
commit 4490b2ca84
2 changed files with 0 additions and 11 deletions

View File

@ -1,5 +1,3 @@
WORK_DIR="."
BACKUP_DIR="./backup"
IMAGE_DIR="../Public/images"
MODEL_FILE="../Public/classifier.mlmodel"

View File

@ -27,15 +27,6 @@
source config.sh
echo "[INFO] Working in directory ${WORK_DIR}"
cd $WORK_DIR
retVal=$?
if [ $retVal -ne 0 ]; then
echo '[ERROR] Directory not found'
return $retVal
fi
echo "[INFO] Ensuring permissions for images on server..."
ssh -p $SSH_PORT ${SERVER} "sudo chmod -R 755 ${SERVER_ROOT_PATH}/images"