Skip to main content

Stable Diffusion

Getting Started

AUTOMATIC1111's WebGUI

https://github.com/AUTOMATIC1111/stable-diffusion-webui

Installation Guide

https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Dependencies


Install xformers

หาไฟล์ launch.py เปิดด้วย notepad

หาคำว่า commandline แล้วใส่ --xformers เพิ่มเข้าไป

image.png

เปิดรัน webui-user.bat ได้เลย

ถ้า error เช่น

image.png

หมายถึง version PyTorch ไม่ตรง ให้เปิด webui-user.bat แล้วเพิ่มคำสั่ง ลงไปเพือบังคับอัพเดท PyTorch

 --reinstall-torch --xformers

image.png





Textual Inversion
GUI

ใช้ build-in

https://book.biribiri.me/books/735b9/page/stable-diffusion-textual-inversion-training

 https://github.com/bmaltais/kohya_ss.git

Colab

https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb#scrollTo=CFWtw-6EPrKi



LoRA

GUI

 https://github.com/bmaltais/kohya_ss.git

progressive learning rates: 0.05:10, 0.02:20, 0.01:60, 0.005:200, 0.002:500, 0.001:3000, 0.0005


Colab

https://github.com/cloneofsimo/lora



Upscale

https://www.reddit.com/r/StableDiffusion/comments/xkjjf9/upscale_to_huge_sizes_and_add_detail_with_sd/