Clean training script
This commit is contained in:
parent
56b74117ca
commit
4490b2ca84
@ -1,5 +1,3 @@
|
||||
WORK_DIR="."
|
||||
BACKUP_DIR="./backup"
|
||||
IMAGE_DIR="../Public/images"
|
||||
MODEL_FILE="../Public/classifier.mlmodel"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user