Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Latest commit

 

History

History
85 lines (45 loc) · 2.68 KB

README_zh.md

File metadata and controls

85 lines (45 loc) · 2.68 KB

Stable-Video-Diffusion-WebUI

English | 中文

b48a6c775c944f7d89043ab8e0154197 000009
img videos

AutoDl平台Docker 使用

这样你不需要安装了,Docker

准备

git clone https://github.com/xx025/stable-video-diffusion-webui.git
cd stable-video-diffusion-webui

再正式开始之前你需要创建一个虚拟环境,推荐使用conda 如果你不方便使用 conda 请用自己的方式创建一个 python3.10 版本的环境

conda create -n svd python=3.10 
conda activate svd

然后依次执行以下命令,

很有可能在这个过程中你需要流畅的访问国际网络的上网环境,请合理配置代理

一种代理设置方法:使用xshell 隧道让服务器通过本地代理上网

# 在此过程中会安装 cu118对应的torch版本,你可以先尝试安装,笔者测试机器cuda11.6 可正常安装 
# 如果不适你的合你的电脑请合理更改requirements.txt中的--extra-index-url
python install.py

# 创建文件夹,保存权重文件
mkdir checkpoints 
# 下载模型,这个可能需要一些时间,
# 如果不方便使用wget 可以手动下载保存到 checkpoints 文件名 命名为 svd_xt.safetensors
wget https://huggingface.co/vdo/stable-video-diffusion-img2vid-xt/resolve/main/svd_xt.safetensors?download=true -P checkpoints/ -O svd_xt.safetensors

运行

在首次运行时,会下载其他的模型文件,

请为合理设置系统设置代理或修改proxy.py 的代理配置

python run.py

更多设置

请查看setting.py 并修改


捕获

交流社群

说明

这个库来修改自 url , 它是 stable-video-diffusion的 colab 版本