Cuda download
https://developer.nvidia.com/cuda-downloads https://developer.download.nvidia.com/compute/cuda/12.6.0/network_installers/cuda_12.6.0_windows_network.exe
Anaconda download
https://anaconda.com/app/ https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
https://blog.csdn.net/beautifulmemory/article/details/151933889
Project Download
git clone https://gitee.com/lipku/LiveTalking.git
不用翻墙
Config conda
conda config –remove-key channels conda config –add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch3d conda config –add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/peterjc123 conda config –add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch conda config –add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/ conda config –add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config –add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config –set show_channel_urls yes conda clean -i conda create -n ltalk python=3.10
Pytorch Download
https://pytorch.org/get-started/locally/ pip3 install torch torchvision –index-url https://download.pytorch.org/whl/cu126 https://pytorch.org/get-started/previous-versions/ pip install torch==2.9.1 torchvision==0.24.1 torchaudio==2.9.1 –index-url https://download.pytorch.org/whl/cu126
conda install cudatoolkit
pip install -r requirements.txt
夸克云盘https://pan.quark.cn/s/83a750323ef0 GoogleDriver https://drive.google.com/drive/folders/1FOC_MD6wdogyyX_7V1d4NDIO7P9NlSAJ?usp=sharing 将wav2lip256.pth拷到本项目的models下, 重命名为wav2lip.pth; 将wav2lip256_avatar1.tar.gz解压后整个文件夹拷到本项目的data/avatars下
运行 python app.py –transport webrtc –model wav2lip –avatar_id wav2lip256_avatar1