LivePortrait安装笔记
LivePortrait 安装笔记
LivePortrait 是一个由快手、中国科学技术大学和复旦大学联合研发的开源、可控人像视频生成框架
1. PyTorch 安装(CUDA 12.1)
使用官方源安装
pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu121使用本地 whl 文件安装
pip install "G:\file\conda\torch-2.3.0+cu121-cp310-cp310-win_amd64.whl"备用版本(PyTorch 2.1.2)
pip3 install "G:\file\conda\Anaconda-old\torch121\torch-2.1.2+cu121-cp310-cp310-win_amd64.whl"2. 依赖安装
pip install -r requirements.txt
pip install -r requirements_base.txt3. 模型下载
百度网盘链接:
https://pan.baidu.com/s/1MGctWmNla_vZxDbEp2Dtzw?pwd=z5cn4. HuggingFace 镜像配置(可选)
export HF_ENDPOINT=https://hf-mirror.com