前往
大廳
主題

Stable diffusion 測試 - Sampling method

獵奇一哥 | 2022-12-08 20:28:03 | 巴幣 2214 | 人氣 10214

結論

測試心得
  1. Eular a效率高,並且img2img在step 20就能達到一定使用的水平,之後隨機生成
  2. DPM fast意外帶來漫畫上色效果,不過step要超過80才能看
  3. DDIM 顏色較柔和,但又不失明暗的調性,類似近年比較流行的填色後,利用水彩或者油畫加工,再做塗抹與photoshop修正的畫法,加工比較細膩


運作方法

Stable diffusion Automatic1111提供相關文件
  1. Euler Ancestral(Euler A) - very creative, each can get a completely different picture depending on step count, setting steps to higher than 30-40 does not help (很有創意,可以根據步數得到完全不同的畫面,但步數設置為高於 30-40 無濟於事)
  2. Euler - ?
  3. LMS - ?
  4. Heun - ?
  5. DPM2 - ?
  6. DPM2 a - ?
  7. DPM fast - ?
  8. DPM adaptive - ?
  9. LMS Karras - ?
  10. DPM2 Karras - ?
  11. DPM2 a Karras - ?
  12. Denoising Diffusion Implicit Models(DDIM) - best at inpainting (最擅長修復)
中間一大段我找不到文件,只有頭尾兩個方案
如果要深入,看來這有數學問題,據說這些差異要看一篇 Elucidating the Design Space of Diffusion-Based Generative Models 的論文
還沒看,估計看不懂,但 數學系想要當藝術家的,可以從這裡加入


外國人對不同Sampling method的使用看法


實驗

使用img2img
做個不同sampler的實驗
CFG固定10,step 20~80
同一個seed :1136202044
step 100是另一台電腦做的,忘記打seed

1girl, bandaid, bandaid on leg, bangs, candy, cellphone, choker, closed mouth, food, frilled sailor collar, frills, hair ornament, hairclip, holding, holding candy, holding food, holding lollipop, holding phone, lollipop, long sleeves, looking at viewer, nail art, phone, pink background, pink choker, pink hair, pink shirt, pleated skirt, puffy long sleeves, puffy sleeves, rabbit hair ornament, red eyes, red nails, sailor collar, shirt, skirt, sleeves past wrists, solo, tongue, tongue out, twintails, two-tone background, white background, white sailor collar, white skirt, x hair ornament, commentary, symbol-only commentary,(((highres)))
Negative prompt: ((((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))) , 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))), ahoge, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry , extra limbs
Size: 640x1024, Model hash: 925997e9, Denoising strength: 0.75, Mask blur: 4



Euler a
step20
step50
step80
step100



Euler
step20
step50
step80
step100



LMS
step20
step50
step80
step100



Heun
step20
step50
step80
step100



DPM2
step20
step50
step80
step100



DPM2 a
step20
step50
step80
step100



DPM fast
step20
step50
step80
step100



DPM adaptive
step20
step50
step80
step100



LMS Karras
step20
step50
step80
step100



DPM2 Karras
step20
step50
step80
step100



DPM2 a Karras
step20
step50
step80
step100



DDIM
step20
step50
step80
step100



STEP 100 下比較Sampler






創作回應

Mr.Mine
請問使用的model是哪個呢
2023-02-15 20:04:06
鍋子魚
請問使用的model是哪個呢+1
2023-02-25 00:22:24

相關創作

更多創作