objectImageIdentifierAI/deploy.sh
deploy.shRaw
1timestamp() {
2 date +"%T"
3}
4
5
6timestamp
7echo "Starting imagesToDataset"
8cd imagesToDataset && python main.py
9cd ..
10cp ./imagesToDataset/dataset.npy ./nnTrain/dataset.npy
11
12timestamp
13echo "Starting nnTrain"
14cd nnTrain && python train.py
15cd ..
16cp ./nnTrain/nn.pkl ./serverPredictor/nn.pkl
17
18timestamp
19echo "Starting serverPredictor"
20cd serverPredictor && python main.py
21
22
23echo "----- deploy.sh finished -----"
24timestamp