-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexecuter.sh
More file actions
32 lines (32 loc) · 824 Bytes
/
executer.sh
File metadata and controls
32 lines (32 loc) · 824 Bytes
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
echo "STOP THIS SCRIPT IF YOU ARENT RUNNING FROM THE CLONED REPO"
echo "YOU HAVE TEN SECONDS TO STOP THE SCRIPT"
sleep 10
echo "TRAINING"
python optimizedcputrainer.py
echo "WAITING"
sleep 1
echo "PREDICTING"
python classifyandpredict.py
echo "FEEDBACK FORM AND PARTY PROGRAM LAUNCHING"
sleep 1
coffee -c congrats.coffee -o javascript/ -r readline --no-header
cd javascript
node congrats.js
echo "please wait. cleanup script."
cd -
echo "DONE"
read -p "DELETE TRAINING DATA? (requires rebuild of classify.png and samples. we only rebuild directories but not their contents) (y/n): " choice
if [[ "$choice" != "y" ]]; then
echo "aborting in 10"
sleep 10
exit
fi
rm classify.png
rm -r samples
rm -r javascript
mkdir samples
mkdir javascript
echo "cleanup complete. please rebuild"
echo "aborting in 10"
sleep 10
exit