在CentOS下部署GeneFace Plus Plus可参考以下步骤:
sudo yum update -ysudo yum groupinstall "Development Tools",sudo yum install -y cmake git wget python3 python3-develconda create -n geneface python=3.9,conda activate genefacegit clone https://github.com/yerfor/GeneFacePlusPlus.git,然后cd GeneFacePlusPlusmkdir build && cd build,cmake ..,make -j$(nproc),sudo make install~/.bashrc或~/.bash_profile,添加export PATH=$PATH:/path/to/GeneFacePlusPlus/build/bin,export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/GeneFacePlusPlus/build/lib,然后运行source ~/.bashrcexport PYTHONPATH=$PYTHONPATH:./python,python inference/genefacepp_infer.py --a2m_ckpt=checkpoints/audio2motion_vae --head_ckpt=checkpoints/motion2video_nerf/may_head --torso_ckpt=checkpoints/motion2video_nerf/may_torso --drv_aud=data/raw/val_wavs/example.wav --out_name=demo_output.mp4具体步骤可能因版本不同有所差异,建议参考GeneFace++ GitHub仓库中的README文件获取准确信息。