GeneFace++ 是 GeneFace 的升级版,用于:
核心依赖:
Add to PATHbin 路径加入 系统环境变量 PATHGeneFace++ 需要 GPU
安装后确认:
nvidia-smi
nvcc --versiongit clone https://github.com/liumin time/GeneFacePlusPlus.git
cd GeneFacePlusPluspython -m venv geneface
geneface\Scripts\activatepip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118pip install -r requirements.txt⚠️ Windows 常见问题:
pyworld 安装失败 → 用预编译 wheelnumba 版本不匹配 → 固定版本face_alignment 可能要降级官方 README 会提供:
放到:
checkpoints/python inference.py \
--audio_path test.wav \
--video_path ref.mp4 \
--out_path output.mp4❌ 问题 1:路径反斜杠
/❌ 问题 2:多线程报错
set OMP_NUM_THREADS=1❌ 问题 3:显存爆炸
❌ 问题 4:ffmpeg 找不到
ffmpeg -version 能运行✅ 用 WSL2(Windows Subsystem for Linux)
wsl --install你可以告诉我:
我可以直接帮你 一步一步排错。