サンプラー
from https://stable-diffusion-art.com/samplers/Stable Diffusion Samplers: A Comprehensive Guide
Samplingとは?
https://gyazo.com/496d7b8734ff78014abd25829fb3e3ff
画像を生成するために、Stable Diffusionはまず潜在空間(latent space)に完全にランダムな画像(ノイズ)を生成する。
次に、ノイズ予測器(noise predictor)が画像のノイズを予測します。予測されたノイズは画像から差し引かれる。このプロセスを何十回も繰り返す。最終的に、きれいな画像を得ることができます。
Noise schedule
https://scrapbox.io/files/6464d36a56e513001b22fcc8.webphttps://scrapbox.io/files/6464d36edf7ae9001cbeab94.webp
Sampling steps数を増やすと、各ステップ間のノイズ低減が小さくなります。これにより、Samplingの切り捨て誤差が減少します。
Interactive deep dive into Stable Diffusion samplers
命名規則
https://gyazo.com/4b03e06e7d808d8542dcc4ea1d52d7f2
Stable Diffsion webUIで利用できるサンプラー
Euler a
Euler
LMS
Heun
DPM2
DPM2 a
DPM++ 2S a
DPM++ 2M
DPM++ SDE
DPM fast
DPM adaptive
LMS Karras
DPM2 Karras
DPM2 a Karras
DPM++ 2S a Karras
DPM++ 2M Karras
hallatore氏改良版DPM++ 2M Karras
DPM++ SDE Karras
DDIM
PLMS
UniPCが導入される?
https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/7705 New sampler: UniPC - Unified Predictor-Corrector Framework for Fast Sampling
https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.6.0v1.6.0
DPM++ 2M SDE Exponential
DPM++ 2M SDE Heun
DPM++ 2M SDE Heun Karras
DPM++ 2M SDE Heun Exponential
DPM++ 3M SDE
DPM++ 3M SDE Karras
DPM++ 3M SDE Exponential
Restart
gradient_estimation
とりあえずComfyUIでの画像生成で使う際の使用感を書いてくれているサイト
https://note.com/mahuyu_ai/n/n50611d2e85f6【ComfyUI】Ksamplerについて