-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgloss2pose.sh
More file actions
27 lines (21 loc) · 656 Bytes
/
gloss2pose.sh
File metadata and controls
27 lines (21 loc) · 656 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
#!/bin/bash
URL="https://github.com/SignBridgeApp/models/releases/download/v0.0/gloss2pose.zip"
ZIP_FILE="gloss2pose.zip"
TARGET_DIR="gloss2pose"
if [ ! -d "$TARGET_DIR" ]; then
echo "Downloading and extracting $ZIP_FILE..."
if [ ! -d "$ZIP_FILE" ]; then
wget -q "$URL"
else
echo "Zip $ZIP_FILE already exists. Skipping download."
fi
unzip -q "$ZIP_FILE" && rm "$ZIP_FILE"
echo "Done."
else
echo "Directory $TARGET_DIR already exists. Skipping download and extraction."
fi
git clone https://github.com/SignBridgeApp/pose-all.git
cd pose-all/src/python && pip3 install .
rm -rf pose-all/
apt install -y libgl1-mesa-glx
ldconfig