MuseTalk 的 comfyui 自定义节点可制作音频驱动视频!
确保ffmpeg
在 Linux 命令行中运行
apt update
apt install ffmpeg
对于Windows,您可以通过WingetUI自动安装ffmpeg
然后!
git clone https://github.com/AIFSH/ComfyUI-MuseTalk_FSH.git
cd ComfyUI-MuseTalk_FSH
pip install -r requirements.txt
pip install --no-cache-dir -U openmim
mim install mmengine
mim install " mmcv>=2.0.1 "
mim install " mmdet>=3.1.0 "
mim install " mmpose>=1.1.0 "
您可以手动下载权重,如下所示:
下载我们训练过的重量。
下载其他组件的权重:
或者下载MuseTalk.zip,解压后把子文件夹放入ComfyUI-MuseTalk_FSH/models/
目录
最后,这些权重应按如下方式组织在models
中:
ComfyUI-MuseTalk_FSH/models/
├── musetalk
│ └── musetalk.json
│ └── pytorch_model.bin
├── dwpose
│ └── dw-ll_ucoco_384.pth
├── face-parse-bisent
│ ├── 79999_iter.pth
│ └── resnet18-5c106cde.pth
├── sd-vae-ft-mse
│ ├── config.json
│ └── diffusion_pytorch_model.bin
└── whisper
└── tiny.pt