Spaces:
Running
on
Zero
Running
on
Zero
Update install.sh
Browse files- install.sh +9 -2
install.sh
CHANGED
@@ -1,7 +1,14 @@
|
|
|
|
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/
|
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 && \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
# git config --global url.https://[email protected]/.insteadOf https://github.com/ && \
|
3 |
git config --global url.https://jasongzy:[email protected]/.insteadOf https://huggingface.co/ && \
|
4 |
git lfs install && \
|
5 |
+
git clone https://github.com/dkatz23/retry-Make-It-Animatable --recursive --single-branch app && \
|
6 |
wget https://github.com/facebookincubator/FBX2glTF/releases/download/v0.9.7/FBX2glTF-linux-x64 -O app/util/FBX2glTF && \
|
7 |
chmod +x app/util/FBX2glTF && \
|
8 |
+
git clone https://huggingface.co/jasongzy/Make-It-Animatable hf-data && \
|
9 |
+
GIT_LFS_SKIP_SMUDGE=1 git -C app/data clone https://huggingface.co/datasets/jasongzy/Mixamo && \
|
10 |
+
git -C app/data/Mixamo lfs pull -I 'bones*.fbx,animation' && \
|
11 |
+
rm ~/.gitconfig && \
|
12 |
+
mv hf-data/data/* app/data/ && \
|
13 |
+
mv hf-data/output/* app/output/ && \
|
14 |
+
rm -r hf-data
|