File size: 860 Bytes
5c44f05
9294069
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5c44f05
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
# Configure Git with Hugging Face token
git config --global url.https://dkatz2391:$HF_TOKEN@huggingface.co/.insteadOf https://huggingface.co/
git lfs install

# Clone the main application
git clone https://github.com/dkatz23/retry-Make-It-Animatable --recursive --single-branch app

# Download and set up FBX2glTF
wget https://raw.githubusercontent.com/AdamGman/Make-It-Animatable/main/util/FBX2glTF-linux-x64 -O app/util/FBX2glTF
chmod +x app/util/FBX2glTF

# Clone AnimateDataset (dataset)
git clone https://huggingface.co/datasets/dkatz2391/AnimateDataset hf-data

# Clone Mixamo2 (model)
mkdir -p app/data
git clone https://huggingface.co/dkatz2391/Mixamo2 app/data/Mixamo
git -C app/data/Mixamo lfs pull

# Clean up Git config
rm ~/.gitconfig

# Move files from hf-data
mv hf-data/data/* app/data/
mv hf-data/output/* app/output/
rm -r hf-data