COCO研究院

 找回密碼
 註冊
搜索
查看: 1379|回復: 4

在自己的電腦上安裝Stable Diffusion (AI生成圖片)

[複製鏈接]
發表於 23-2-20 22:48 | 顯示全部樓層 |閱讀模式
本帖最後由 綠茶妹 於 23-2-20 23:09 編輯



Stable Diffusion是AI生成圖片的工具,類似Midjourney。
我爬文研究了好幾套,這一套做出來可以商用,
也不會有Disco Diffusion執行很緩慢的問題。


嘿嘿嘿...終於成功了。
雖然網路上很多教學。但是最後有一個error我是爬文後才解決的。
值得記錄一下。

先貼上原始的教學文章
https://blog.jimmycstudio.com/stablediffusion-local-install/

這是我後面遇到的問題
11.png

解決方法在這裡
https://www.reddit.com/r/StableD ... tomatic1111_stable/

  1. 1- download miniconda from here https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe the installation is as easy as clicking next, next, next

  2. 2- download git for windows from here https://github.com/git-for-windows/git/releases/download/v2.39.0.windows.2/Git-2.39.0.2-64-bit.exe make sure to add it to path when asked, it's just a tickbox you have to enable

  3. 3- press your windows key and search for "miniconda" and open Anaconda prompt (miniconda)

  4. 4- now type this and press inter

  5. git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
  6. 5- now type this and press inter

  7. cd stable-diffusion-webui
  8. 6- finally type this and press inter

  9. python launch.py
  10. wait for it to be complete and download v1.5 the ckpt model (google stable diffusion 1.5 model), rename it to model.ckpt and place it inside models\Stable-diffusion folder inside the stable-diffusion-webui folder and it should work from there, the v2 and v2.1 models are a downgrade so don't bother with them

  11. let me know if this worked for you or if you need more help
複製代碼





評分

參與人數 1金錢 +3 收起 理由
tinyding + 3 感謝分享. ^_^

查看全部評分

 樓主| 發表於 23-2-20 22:53 | 顯示全部樓層
本帖最後由 綠茶妹 於 23-2-20 22:55 編輯

測試做出來的效果

  1. Please paint a watercolor painting for me and draw a French street scene. The weather is very nice, with a few white clouds in the sky. There are three small tables on the side of the road, and many people are happily drinking coffee and chatting.
複製代碼



00001-319760415.png


執行畫面

12.png



 樓主| 發表於 23-2-20 23:06 | 顯示全部樓層




  1. Please draw a Japanese anime boy holding a Shiba Inu and walking on a road with many cherry blossoms.
複製代碼



00002-871480864.png


發表於 23-2-21 09:33 | 顯示全部樓層
現今的科技越來越可怕了!

您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

手機版|Archiver|站長信箱|廣告洽詢|COCO研究院

GMT+8, 24-4-25 13:14

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回復 返回頂部 返回列表
理財討論網站 | AI繪圖AI超擬真美女AI beauty AI Stable DiffusionAI正妹AI Lookbook