objectImageIdentifierAI/deploy.sh
deploy.shRaw
1timestamp() {
2 date +"%T"
3}
4
5cd serverPredictor
6
7timestamp
8echo "Starting training the model: classifierChooser.py"
9python classifierChooser.py
10
11timestamp
12echo "Starting serverPredictor"
13xterm -hold -e 'python serverPredictor.py' &
14
15sleep 4
16
17timestamp
18echo "Starting test.sh"
19xterm -hold -e 'bash test.sh' &