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
相关推荐
AlfredZhao10 小时前
公众号已上线 Ask AI 功能
ai·智能体·公众号·deepseek·ask ai
CodeCaster10 小时前
他来了,为大模型量身定制的响应式编程范式(1) —— 从接入 DeepSeek 开始吧
java·ai·langchain
哥不是小萝莉11 小时前
使用 DeepSeek R1 和 Ollama 开发 RAG 系统
ai·deepseek
gange57414 小时前
AI将会取代生活的方方面面吗?
人工智能·ai·ai作画·生活·ai编程·ai写作·百度云
Sator114 小时前
C#与AI的交互(以DeepSeek为例)
ai·语言模型·c#
FIT2CLOUD飞致云15 小时前
MaxKB上架至阿里云轻量应用服务器镜像市场
ai·开源·大模型·知识库·maxkb·问答
chaplinthink17 小时前
LangChain大模型框架& Dify低代码 AI 开发平台
ai·langchain·dify
做一个有理想的码农21 小时前
win11本地部署deepseek大模型(安装ollama+docker+open-webui)最终实现自己的项目可通过API调用投喂数据后的模型
docker·ai·api·ollama·deepseek
恶猫1 天前
[特殊字符]清华大学:DeepSeek从入门到精通.pdf(清华领航,驾驭DeepSeek,开启AI新境界)
ai·pdf·deepseek
不叫猫先生2 天前
云电脑接入DeepSeek?探讨ToDesk云电脑、海马云、顺网云的AI潜能
人工智能·ai·云电脑·deepseek