当前位置: 首页 > news >正文

SadTalker数字人服务器部署

一、单独SadTalker部署

git clone https://github.com/OpenTalker/SadTalker.gitcd SadTalker conda create -n sadtalker python=3.8conda activate sadtalkerpip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113conda install ffmpegpip install -r requirements.txt

通过音频图片生成数字人:

python inference.py --driven_audio 11.wav  --source_image 11.jpeg --enhancer gfpgan

二、安装stable-diffusion-webui

环境

python:3.11

cuda:12.1

torch:2.2.1+cu121

资源:

链接:https://pan.baidu.com/s/1GeASwRZeX81ef738WG3Kiw 
提取码:yn16 

解压stable环境的python到/usr/local/miniconda3/envs/

unzip stable.zip /usr/local/miniconda3/envs

解压stable-webui文件 

unzip stable-diffusion-webui.zip

启动服务:

python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue  --port=8080

生成视频:

tmp2zux_56m11-0-100_enhanced

问题:

  问题1:libGL.so.1: cannot open shared object file: No such file or directory

sudo apt-get update
sudo apt-get install -y libgl1-mesa-glx

问题2: python3.10/site-packages/torch/lib/libtorch_cuda.so: undefined symbol: ncclCommRegister

pip uninstall torch
pip install torch==2.1.0

问题3:ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'

pip uninstall torchvision
pip install torchvision==0.16.0

1 OSError: Can't load tokenizer for 'openai/clip-vit-large-patch14'. If you were trying to load it from https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'openai/clip-vit-large-patch14' is the correct path to a directory containing all relevant files for a CLIPTokenizer tokenizer

在sd目录下创建openai并且:

git clone https://www.modelscope.cn/AI-ModelScope/clip-vit-large-patch14.git

最终:stable-diffusion-webui/openai/clip-vit-large-patch14

2 ImportError: libGL.so.1: cannot open shared object file: No such file or dir

需要更新apt,安装libgl1-mesa-glx

apt update
apt install libgl1-mesa-glx

3 AttributeError: module 'numpy' has no attribute 'complex'.

pip install --upgrade librosa

http://www.lryc.cn/news/400518.html

相关文章:

  • Python实现一对多WebSocket发送给指定多个客户端
  • Power BI 工具介绍
  • 银河麒麟高级服务器操作系统V10加固操作指南
  • (leetcode学习)15. 三数之和
  • 算法训练 | 图论Part8 | 117. 软件构建、47. 参加科学大会
  • 编程从零基础到进阶(更新中)
  • MySQL运维实战之ProxySQL(9.6)SQL黑名单
  • 深入了解MySQL中的innodb_lock_wait_timeout
  • 102.qt qml-最全Table交互之多列固定、行列拖拽、自定义委托、标题交互使用教程
  • 文章管理小程序的设计
  • Ubuntu22.04安装NIVIDIA显卡驱动总结
  • Redis的配置优化、数据类型、消息队列
  • 数据结构之初始二叉树(2)
  • 如何预防最新的baxia变种勒索病毒感染您的计算机?
  • git列出提交记录的文件路径
  • 微信小程序密码 显示隐藏 真机兼容问题
  • C# 中,使用 LINQ 示例 备忘
  • GaussDB DWS 详解
  • 【256 Days】我的创作纪念日
  • 3D云渲染工具对决:Maya与Blender的性能和功能深度比较
  • spring.factories详解
  • 从Docker Hub 拉取镜像一直失败超时?这些解决方案帮你解决烦恼
  • 【pbootcms】新环境搭建环境安装时发生错误
  • C语言之qsort函数
  • R 数据重塑
  • opencascade AIS_InteractiveContext源码学习8 trihedron display attributes
  • 【云岚到家】-day05-6-项目迁移-门户-CMS
  • linux彻底卸载docker
  • linux高级编程(网络)(www,http,URL)
  • Perl 语言开发(十三):网络编程