Deep-Live-Cam启动

实验环境

  • 实验时间:2024年8月
  • windows 10 专业版
  • 能跟老外对喷的网络环境
  • 基于 Anaconda 创建 Python 3.10.x 环境

其它依赖

  • 安装ffmpeg。管理员身份打开Windows PowerShell,输入iex (irm ffmpeg.tc.ht),然后选择3

如果不行就自行百度换一种方式安装。


项目准备

json 复制代码
 正在生成代码
      已完成代码的生成
      LINK : fatal error LNK1158: 无法运行"rc.exe"
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe' failed with exit code 1158
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for insightface
Failed to build insightface
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (insightface)
  • 找到rc.exercdll.ddl,拷贝到报错的C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN目录下


  • 重新安装依赖:pip install -r requirements.txt

使用GPU(可选)

  • 安装CUDA:https://blog.csdn.net/anmin8888/article/details/127910084
  • 安装依赖:
json 复制代码
pip uninstall onnxruntime onnxruntime-gpu
pip install onnxruntime-gpu==1.16.3

使用

  • 启动:python run.py --execution-provider cuda

不用GPU的话就python run.py 命令就行

文件路径不要有中文等特殊符号。

  • 替换Mp4或图片,点击preview即可。
  • 直播预览就点 live
相关推荐
圆奋奋6 小时前
DeepSeek Harness:尝鲜
ai·deepseek
bransyin10 小时前
一个 SQL 字段到底是怎么算出来的?我做了一个能给出“证据”的血缘工具
大数据·sql·ai·血缘
ljheee10 小时前
DeepSeek Harness (DSH) 深度解析:从 Cordis 架构到自进化 Agent 的可能性
ai
CC大煊10 小时前
从夯到拉:锐评国内向量模型选型
人工智能·ai·架构·langchain
武雄(小星Ai)11 小时前
Agent记忆系统工程排坑:从Prompt Cache被打碎到Embedding迁移数据税
ai·系统架构·agent·智能体·深度评测
燐妤12 小时前
梦绘片场 ProjectDream总览篇:从项目到成片的 AI 漫剧工作台
人工智能·ai·项目开发
茫茫人海一粒沙13 小时前
Browser Automation for Coding Agents:六种架构方案深度对比
ai·架构
fthux14 小时前
装闭 RenoPit 源码解析(10):AI如何审查装修合同与报价单
人工智能·ai·开源·github·open source·renopit
慌途L15 小时前
Open Code Review 详解:阿里巴巴开源 AI 代码审查工具
ai·ocr·代码规范·code review·ai代码审查