git clone --recursive https://github.com/jseobyun/WarpHE4D_ReFLAME.git
cd reflame
pip install .
nvdiffrast and the Botsch-Kobbelt remesher, which are provided as submodules, please run the setup_dependencies.sh script.sh setup_dependecies.sh
nvdiffrast relies on the cudatoolkit-dev package to compile modules at runtime.
To install it with Anaconda:conda install -c conda-forge cudatoolkit-dev
pip install -r requirements.txt
./ckpts/warphead/warph3ad_fast.pt../ckpts/yzd-v/DWPose/*.landmark_embedding.npy from FLAME and place it into ./templates/FLAME2023/landmark_embedding.npy.
$DATA_DIR
|-???.obj (obj file that contains vt)
|-???.mtl (mtl file that include texture map name with map_Kd keyword)
|-???.png/jpg/jpeg (texture map image, under 2K recomended for preventing rendering failure)
cd reflame
python3 run_fit.py --data_dir $DATA_DIR --opt_lambda 30 --coarse_steps 1000 --refine_steps 300 --texture_steps 1000 --azim_range 150
# add --vis and --save if you need to visualize or save the results.
# $DATA_dir should contain a single set of textured mesh (obj, mtl, png/jpg/jpeg)
Head scan (light green) and optimized FLAME (orange).
This code is provided under a 3-clause BSD license that can be found in the LICENSE file. By using, distributing, or contributing to this project, you agree to the terms and conditions of this license.
Additionally, the final lincense is extended version of original license of large-steps.
I recommend everyone to double-check both licenses.
If you use this code for academic research, please cite our method using the following BibTeX entry:
# warphead will be updated after ICCV 2025
@article{Nicolet2021Large,
author = "Nicolet, Baptiste and Jacobson, Alec and Jakob, Wenzel",
title = "Large Steps in Inverse Rendering of Geometry",
journal = "ACM Transactions on Graphics (Proceedings of SIGGRAPH Asia)",
volume = "40",
number = "6",
year = "2021",
month = dec,
doi = "10.1145/3478513.3480501",
url = "https://rgl.epfl.ch/publications/Nicolet2021Large"
}
@inproceedings{yang2023effective,
title={Effective whole-body pose estimation with two-stages distillation},
author={Yang, Zhendong and Zeng, Ailing and Yuan, Chun and Li, Yu},
booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
pages={4210--4220},
year={2023}
}
C++
80.6%
Python
10.0%
Cuda
4.4%
CMake
2.4%
C
1.4%
HTML
1.2%
git clone --recursive https://github.com/jseobyun/WarpHE4D_ReFLAME.git
cd reflame
pip install .
nvdiffrast and the Botsch-Kobbelt remesher, which are provided as submodules, please run the setup_dependencies.sh script.sh setup_dependecies.sh
nvdiffrast relies on the cudatoolkit-dev package to compile modules at runtime.
To install it with Anaconda:conda install -c conda-forge cudatoolkit-dev
pip install -r requirements.txt
./ckpts/warphead/warph3ad_fast.pt../ckpts/yzd-v/DWPose/*.landmark_embedding.npy from FLAME and place it into ./templates/FLAME2023/landmark_embedding.npy.
$DATA_DIR
|-???.obj (obj file that contains vt)
|-???.mtl (mtl file that include texture map name with map_Kd keyword)
|-???.png/jpg/jpeg (texture map image, under 2K recomended for preventing rendering failure)
cd reflame
python3 run_fit.py --data_dir $DATA_DIR --opt_lambda 30 --coarse_steps 1000 --refine_steps 300 --texture_steps 1000 --azim_range 150
# add --vis and --save if you need to visualize or save the results.
# $DATA_dir should contain a single set of textured mesh (obj, mtl, png/jpg/jpeg)
Head scan (light green) and optimized FLAME (orange).
This code is provided under a 3-clause BSD license that can be found in the LICENSE file. By using, distributing, or contributing to this project, you agree to the terms and conditions of this license.
Additionally, the final lincense is extended version of original license of large-steps.
I recommend everyone to double-check both licenses.
If you use this code for academic research, please cite our method using the following BibTeX entry:
# warphead will be updated after ICCV 2025
@article{Nicolet2021Large,
author = "Nicolet, Baptiste and Jacobson, Alec and Jakob, Wenzel",
title = "Large Steps in Inverse Rendering of Geometry",
journal = "ACM Transactions on Graphics (Proceedings of SIGGRAPH Asia)",
volume = "40",
number = "6",
year = "2021",
month = dec,
doi = "10.1145/3478513.3480501",
url = "https://rgl.epfl.ch/publications/Nicolet2021Large"
}
@inproceedings{yang2023effective,
title={Effective whole-body pose estimation with two-stages distillation},
author={Yang, Zhendong and Zeng, Ailing and Yuan, Chun and Li, Yu},
booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
pages={4210--4220},
year={2023}
}
C++
80.6%
Python
10.0%
Cuda
4.4%
CMake
2.4%
C
1.4%
HTML
1.2%