Spaces:
Sleeping
Sleeping
retry AG
Browse files- install.sh +25 -12
install.sh
CHANGED
@@ -1,14 +1,27 @@
|
|
1 |
#!/bin/bash
|
2 |
-
#
|
3 |
-
git config --global url.https://
|
4 |
-
git lfs install
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
rm -r hf-data
|
|
|
1 |
#!/bin/bash
|
2 |
+
# Configure Git with Hugging Face token
|
3 |
+
git config --global url.https://dkatz2391:[email protected]/.insteadOf https://huggingface.co/
|
4 |
+
git lfs install
|
5 |
+
|
6 |
+
# Clone the main application
|
7 |
+
git clone https://github.com/dkatz23/retry-Make-It-Animatable --recursive --single-branch app
|
8 |
+
|
9 |
+
# Download and set up FBX2glTF
|
10 |
+
wget https://raw.githubusercontent.com/AdamGman/Make-It-Animatable/main/util/FBX2glTF-linux-x64 -O app/util/FBX2glTF
|
11 |
+
chmod +x app/util/FBX2glTF
|
12 |
+
|
13 |
+
# Clone AnimateDataset (dataset)
|
14 |
+
git clone https://huggingface.co/datasets/dkatz2391/AnimateDataset hf-data
|
15 |
+
|
16 |
+
# Clone Mixamo2 (model)
|
17 |
+
mkdir -p app/data
|
18 |
+
git clone https://huggingface.co/dkatz2391/Mixamo2 app/data/Mixamo
|
19 |
+
git -C app/data/Mixamo lfs pull
|
20 |
+
|
21 |
+
# Clean up Git config
|
22 |
+
rm ~/.gitconfig
|
23 |
+
|
24 |
+
# Move files from hf-data
|
25 |
+
mv hf-data/data/* app/data/
|
26 |
+
mv hf-data/output/* app/output/
|
27 |
rm -r hf-data
|