forked from IQTLabs/SkyScan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-skyscan.sh
38 lines (30 loc) · 930 Bytes
/
install-skyscan.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
34
35
36
37
38
# Set environment variables
export COMPOSE_FILE_URL=https://raw.githubusercontent.com/meadej/SkyScan/main/docker-compose.yml
export ENV_FILE_URL=https://raw.githubusercontent.com/meadej/SkyScan/main/.env-example
echo "Installing skyscan on ${HOSTNAME} at $(pwd)"
echo "Configuring Mobian base"
bash <(curl -fsSL https://short.iqt.org/pinephonepro)
mkdir skyscan
cd skyscan
mkdir data
cd data
curl -O https://opensky-network.org/datasets/metadata/aircraftDatabase.csv
cd ..
# Make necessary folders
mkdir raw
mkdir coral
mkdir coral/plane
mkdir coral/noplane
mkdir coral/log
mkdir weights
mkdir edge
mkdir edge/plane
mkdir edge/noplane
mkdir edge/log
mkdir processed
mkdir processed/log
curl -O $COMPOSE_FILE_URL
curl -O $ENV_FILE_URL
docker-compose pull
echo "Installation complete. Run `docker-compose up` to start the system"
echo "Before running, ensure you have replaced the demo weights with your own trained weights"