我可以不吃啊 发表于 2024-9-27 23:18:11

Windows安装启动:stable-diffusion-webui,AIGC大模型文生图、文生视频,Py

Windows安装启动:stable-diffusion-webui,AIGC大模型文生图、文生视频,Python
 
stable-diffusion-webui是github上的AIGC开源项目,地址: 
https://github.com/AUTOMATIC1111/stable-diffusion-webuihttps://csdnimg.cn/release/blog_editor_html/release2.3.6/ckeditor/plugins/CsdnLink/icons/icon-default.png?t=N7T8https://github.com/AUTOMATIC1111/stable-diffusion-webui
1、通过git命令下载项目到当地:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git  
2、启动 webui-user.bat。
直接双击 webui-user.bat。
这个过程可能会报错,参考:
 
3、如果一切正常,花时间启动后, 打开的
http://127.0.0.1:7860/
左上角  Stable Diffusion checkpoint 可能是空的,革新也革新不出来,缘故原由是没有模型:
   FileNotFoundError: No checkpoints found. When searching for checkpoints, looked at:
 - file D:\xxx\xxx\stable-diffusion-webui\model.ckpt
到  Stable Diffusion Models
下载一个模型,比如下载 v1.5:  Stable Diffusion Modelshttps://csdnimg.cn/release/blog_editor_html/release2.3.6/ckeditor/plugins/CsdnLink/icons/icon-default.png?t=N7T8https://cyberes.github.io/stable-diffusion-models/#stable-diffusion-1-5
文件有些大, 约4G,下载后,是一个名为 v1-5-pruned-emaonly.ckpt 的文件,把v1-5-pruned-emaonly.ckpt放到目录 stable-diffusion-webui\models\Stable-diffusion 下面。
 
以上正常完成,即可使用stable-diffusion-webui的文生图等AIGC功能。生成的图在
stable-diffusion-webui\outputs\txt2img-images\日期 
下面。
 
 
 
 
https://i-blog.csdnimg.cn/direct/b2fd91bb8f6d48669f9a9b45ef3de131.png
 
webui-user.bat启动stable-diffusion-webui报错:RuntimeError: Torch is not able to use GPU,AIGC,Python-CSDN博客文章浏览阅读176次。webui-user.bat启动stable-diffusion-webui报错:RuntimeError: Torch is not able to use GPU,AIGC,Python。https://g.csdnimg.cn/static/logo/favicon32.icohttps://blog.csdn.net/zhangphil/article/details/141814348
 

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页: [1]
查看完整版本: Windows安装启动:stable-diffusion-webui,AIGC大模型文生图、文生视频,Py