flame-fitting
<aside>
❗ FLAME fitting을 통해 실제로 해볼 수 있는 것들 정리
</aside>
GitHub - Rubikplayer/flame-fitting: Example code for the FLAME 3D head model. The code demonstrates how to sample 3D heads from the model, fit the model to 3D keypoints and 3D scans.
https://github.com/soubhiksanyal/FLAME_PyTorch
class FLAME
- register_parameter
- shape_betas - (BS, 300 - shape_params)
- shape parameter는 300개 인데 그중 안쓰는 뒤에 것들
- expression_betas - (BS, 100- expression_params)
- expression parameter는 원래 100개 인데 그중 안쓰는 뒤에 것들
- eyball_pose - (BS, 6)
- neck_pose - (BS, 3)
- 3D translation - (BS,3)
- register_buffer -
- face_tensor - (9976, 3)
- v_template - (5023, 3)
- shapedirs - (5023, 3, 400)
- j_regressor - (5, 5023)
- posedirs - (5023, 3, 36)
- kintree_table - (2, 5)
- lbs weigths
Instructions
1. Anaconda
wget <https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh>
bash Anaconda3-2019.10-Linux-x86_64.sh
sudo ln -s <root to conda>/etc/profile.d/conda.sh
2. create
conda create -n flame python=3.8