Views
No views yet

git clone git@github.com:Fictionarry/TalkingGaussian.git --recursive
conda env create --file environment.yml
conda activate talking_gaussian
pip install "git+https://github.com/facebookresearch/pytorch3d.git"
pip install tensorflow-gpu==2.8.0diff-gaussian-rasterization or gridencoder, please refer to gaussian-splatting and torch-ngp.bash scripts/prepare.sh1# 1. copy 01_MorphableModel.mat to data_util/face_tracking/3DMM/
2# 2. run following
3cd data_utils/face_tracking
4python convert_BFM.py1# prepare mmcv
2conda activate talking_gaussian
3pip install -U openmim
4mim install mmcv-full==1.7.1
5
6# download model weight
7cd data_utils/easyportrait
8wget "https://n-ws-620xz-pd11.s3pd11.sbercloud.ru/b-ws-620xz-pd11-jux/easyportrait/experiments/models/fpn-fp-512.pth"data/<ID>/<ID>.mp4.python data_utils/process.py data/<ID>/<ID>.mp41export PYTHONPATH=./data_utils/easyportrait
2python ./data_utils/easyportrait/create_teeth_mask.py ./data/<ID>python data_utils/deepspeech_features/extract_ds_features.py --input data/<name>.wav # saved to data/<name>.npy--audio_extractor hubert when training and testing.python data_utils/hubert.py --wav data/<name>.wav # save to data/<name>_hu.npy1# If resources are sufficient, partially parallel is available to speed up the training. See the script.
2bash scripts/train_xx.sh data/<ID> output/<project_name> <GPU_ID>1# saved to output/<project_name>/test/ours_None/renders
2python synthesize_fuse.py -S data/<ID> -M output/<project_name> --eval python synthesize_fuse.py -S data/<ID> -M output/<project_name> --use_train --audio <preprocessed_audio_feature>.npy@article{li2024talkinggaussian,
title={TalkingGaussian: Structure-Persistent 3D Talking Head Synthesis via Gaussian Splatting},
author={Jiahe Li and Jiawei Zhang and Xiao Bai and Jin Zheng and Xin Ning and Jun Zhou and Lin Gu},
journal={arXiv preprint arXiv:2404.15264},
year={2024}
}