-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_and_build.sh
33 lines (32 loc) · 945 Bytes
/
run_and_build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/sh
echo "Initiating running scripts"
echo "Going into source directory"
cd src
echo "Listing all Python scripts"
echo "================================================================================="
ls -la *.py
echo "================================================================================="
echo "Fetching images from remote database...."
python SaveImgToLocal.py
echo "Plotting images....."
python PlotImages.py
echo "Extracting facial features...."
python FacialExtraction.py
echo "Defining bounding areas"
python BoundingAreas.py
echo "Implementing FaceNet and building Facial Recognition Model"
python FaceNet.py
cd ..
echo "Going to root"
echo "Updating classes"
echo "Copying files from embed"
ls src/out/embed
cp src/out/embed/* classes
echo "Updating models"
ls src/out/model
cp src/out/model/* data/models
echo "Attempting to run FaceNet"
echo "Going to main"
cd src/main
echo "Running FaceNet....."
python main.py