Use images in public folder for training
This commit is contained in:
parent
6317d5ccd0
commit
430a3820f4
2
.gitignore
vendored
2
.gitignore
vendored
@ -69,7 +69,7 @@ fastlane/test_output
|
||||
|
||||
Package.resolved
|
||||
.swiftpm/
|
||||
Training/images/
|
||||
Public/images/
|
||||
Training/backup/
|
||||
Training/classifier.version
|
||||
|
||||
|
@ -28,10 +28,10 @@
|
||||
########### PATHS ######################################################################
|
||||
|
||||
WORK_DIR="${HOME}/Projects/Caps/Caps-Server/Training"
|
||||
BACKUP_DIR="${WORK_DIR}/backup"
|
||||
IMAGE_DIR="${WORK_DIR}/images"
|
||||
VERSION_FILE="${WORK_DIR}/classifier.version"
|
||||
MODEL_FILE="${WORK_DIR}/classifier.mlmodel"
|
||||
BACKUP_DIR="./backup"
|
||||
IMAGE_DIR="../Public/images"
|
||||
VERSION_FILE="./classifier.version"
|
||||
MODEL_FILE="./classifier.mlmodel"
|
||||
|
||||
TRAINING_ITERATIONS="17"
|
||||
SSH_PORT="5432"
|
||||
@ -50,7 +50,7 @@ if [ $retVal -ne 0 ]; then
|
||||
fi
|
||||
|
||||
echo "[INFO] Getting classifier version from server..."
|
||||
scp -P $SSH_PORT ${SERVER}:/${SERVER_ROOT_PATH}/classifier.version $WORK_DIR
|
||||
scp -P $SSH_PORT ${SERVER}:/${SERVER_ROOT_PATH}/classifier.version .
|
||||
|
||||
retVal=$?
|
||||
if [ $retVal -ne 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user