AI繪圖 StableDiffusion LORA模型

AI繪圖 StableDiffusion LORA模型

安裝軟體

  1. Install Python 3.10.6
  2. Install git.
    AI繪圖 StableDiffusion LORA模型
  3. Download the stable-diffusion-webui repository, for example by running git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
    AI繪圖 StableDiffusion LORA模型
    AI繪圖 StableDiffusion LORA模型
  4. 下載模型 Waifu Diffusion
    AI繪圖 StableDiffusion LORA模型
    AI繪圖 StableDiffusion LORA模型
    下載 https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth
    AI繪圖 StableDiffusion LORA模型
  5. Run webui-user.bat from Windows Explorer as normal, non-administrator, user.
    D:\AItest\diffusion>webui-user.bat
    AI繪圖 StableDiffusion LORA模型
    如果是 nvidia 的顯卡但是是 ram 較少而且較舊的顯卡,顯示 cuda 錯誤訊息的話,編輯 webui-user.bat 修改第六列
    set COMMANDLINE_ARGS=--lowvram --precision full --no-half --skip-torch-cuda-test

    AI繪圖 StableDiffusion LORA模型

    AI繪圖 StableDiffusion LORA模型

 

中文化

CMD指令視窗記得不能關閉

http://127.0.0.1:7860/

在URL的地方貼上 https://github.com/benlisquare/stable-diffusion-webui-localization-zh_TW

AI繪圖 StableDiffusion LORA模型

settings>User interface>Localization (requires restart)>選擇zh_TW>儲存>reload

中文化完成

AI繪圖 StableDiffusion LORA模型

推薦可安裝雙語介面同時顯示中文和英文:https://github.com/journey-ad/sd-webui-bilingual-localization

操作使用

Prompt :
(realistic, photo-realistic:1.37), ultra-detailed, 1 girl,cute, solo,beautiful detailed sky,detailed cafe,night,sitting,dating,(nose blush),(smile:1.15),(closed mouth) small breasts,beautiful detailed eyes,(collared shirt:1.1), night, wet,business attire, rain,white lace, (short hair:1.2),floating hair NovaFrogStyle

Negative Prompt :
((nipple)), ((((ugly)))), (((duplicate))), ((morbid)), ((mutilated)), (((tranny))), (((trans))), (((trannsexual))), (hermaphrodite), [out of frame], extra fingers, mutated hands, ((poorly drawn hands)), ((poorly drawn face)), (((mutation))), (((deformed))), ((ugly)), blurry, ((bad anatomy)), (((bad proportions))), ((extra limbs)), cloned face, (((disfigured))). (((more than 2 nipples))). [[[adult]]], out of frame, ugly, extra limbs, (bad anatomy), gross proportions, (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), mutated hands, (fused fingers), (too many fingers), (((long neck)))

AI繪圖 StableDiffusion LORA模型

LORA

LoRA 模型是一種訓練好的模型,原理是利用餵給它相關風格的圖,就可以產出類似風格的影像

AI繪圖 StableDiffusion LORA模型

AI繪圖 StableDiffusion LORA模型

AI繪圖 StableDiffusion LORA模型
AI繪圖 StableDiffusion LORA模型

AI繪圖 StableDiffusion LORA模型

下載模型:https://civitai.com/

檔案放到 D:\AItest\diffusion\extensions\sd-webui-additional-networks\models\lora

AI繪圖 StableDiffusion LORA模型

下載模型VAE:https://huggingface.co/stabilityai/sd-vae-ft-mse-original/tree/main

AI繪圖 StableDiffusion LORA模型

檔案放到 D:\AItest\diffusion\models\VAE

AI繪圖 StableDiffusion LORA模型

AI繪圖 StableDiffusion LORA模型

AI繪圖 StableDiffusion LORA模型

AI繪圖 StableDiffusion LORA模型

 

AI繪圖 StableDiffusion LORA模型

其他推薦模型

 ChilloutMix,檔案放到models\Stable-diffusion資料夾下

 

AI繪圖 StableDiffusion LORA模型

AI繪圖 StableDiffusion LORA模型

AI繪圖 StableDiffusion LORA模型

 

  AI繪圖 StableDiffusion LORA模型  AI繪圖 StableDiffusion LORA模型

AI繪圖 StableDiffusion LORA模型 AI繪圖 StableDiffusion LORA模型 AI繪圖 StableDiffusion LORA模型

AI繪圖 StableDiffusion LORA模型 AI繪圖 StableDiffusion LORA模型

AI繪圖 StableDiffusion LORA模型 AI繪圖 StableDiffusion LORA模型 AI繪圖 StableDiffusion LORA模型

AI繪圖 StableDiffusion LORA模型 AI繪圖 StableDiffusion LORA模型 AI繪圖 StableDiffusion LORA模型

參考資源

關於作者 多力哥
AI繪圖 StableDiffusion LORA模型
影像創作攝影師/網頁動畫設計師/系統網路工程師/水草研究生
景文科大畢業後,我成為一名網站動畫設計師,並副修MIS電腦資訊管理。2004年,我開始接觸單眼相機,並在2008年正式成為一名接案攝影師,目前使用Canon系統進行拍攝。2016年,我愛上了美麗的水草缸,這讓我的生活多了另一層次的放鬆。每天在電腦前修圖時,能欣賞紅吱吱、綠油油的水草,彷彿多了一份平靜與愉悅。攝影與水草讓我的生活充滿了藝術與自然的交融。
連絡信箱:hello@hahasmile.com (歡迎合作提案)
DORIGO IMAGE 攝影工作室:https://dorigo-image.com
如果你喜歡我的內容,可以用行動贊助我一杯咖啡☕,支持我持續創作,也讓這個網站可以繼續營運下去喔!

若您喜歡這篇文章,歡迎按讚分享喔!
0 回復

發表評論

想要留言嗎?
歡迎歡迎!

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *