# 若未安装
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.shgit clone https://github.com/yerfor/GeneFacePlusPlus.git
cd GeneFacePlusPlusconda create -n geneface++ python=3.9 -y
conda activate geneface++根据你的 CUDA 版本选择:
pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 \
--extra-index-url https://download.pytorch.org/whl/cu117pip install -r requirements.txt常见依赖包括:
pip install face-alignmentpip install librosa soundfilepip install deepspeed某些模块(如 riflediffusion 或 audio2motion)可能需:
python setup.py build_ext --inplace通常放在:
checkpoints/按官方说明下载:
python -c "import torch; print(torch.cuda.is_available())"True 即成功。sudo apt install ffmpeg如果你需要:
可以直接告诉我你的使用场景。