Spaces:
Sleeping
Sleeping
back to jason
Browse files- install.sh +7 -27
install.sh
CHANGED
@@ -1,27 +1,7 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
git
|
4 |
-
git
|
5 |
-
|
6 |
-
|
7 |
-
git clone https://
|
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
|
|
|
1 |
+
# git config --global url.https://[email protected]/.insteadOf https://github.com/ && \
|
2 |
+
git config --global url.https://jasongzy:[email protected]/.insteadOf https://huggingface.co/ && \
|
3 |
+
git lfs install && \
|
4 |
+
git clone https://github.com/jasongzy/Make-It-Animatable --recursive --single-branch app && \
|
5 |
+
wget https://github.com/facebookincubator/FBX2glTF/releases/download/v0.9.7/FBX2glTF-linux-x64 -O app/util/FBX2glTF && \
|
6 |
+
chmod +x app/util/FBX2glTF && \
|
7 |
+
git clone https://huggingface.co/jasongzy/Make-It-Animatable hf-data && \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|