dkatz2391 commited on
Commit
9294069
·
verified ·
1 Parent(s): 5c44f05
Files changed (1) hide show
  1. install.sh +25 -12
install.sh CHANGED
@@ -1,14 +1,27 @@
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
 
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