【AI 繪畫】多l(xiāng)ora融合權(quán)重的選擇
本文探究在chilloutmix + koreanDollLikeness\Japan?Doll Likeness\Girls' Frontline-OTs-14"lightning"\St. Louis (Luxurious Wheels) (Azur Lane)
等多l(xiāng)ora融合使用時(shí),如何搭配各lora的權(quán)重能獲得最好的效果。
小弟水平不佳,本次測(cè)試僅供娛樂,選取樣本少,tag 描述低,理解不到位。若有錯(cuò)誤和建議可在評(píng)論區(qū)討論。
1 參數(shù)
prompt:?
8k, RAW photo, best quality, masterpiece:1.2), (realistic, photo-realistic:1.37),1girl,(Kpop idol), (aegyo sal:1),hair ornament, portrait, (long loose silver revealing dress:1.1), necklace, blue nails,cute,cityscape, night, rain, wet, professional lighting, photon mapping, radiosity, physically-based rendering,(indoors),st.louis,azur lane,luxurious wheels,
Negative prompt:?
EasyNegative, paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, glans,extra fingers,fewer fingers,
Steps: 28, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 839442842, Size: 512x768, Model hash: fc2511737a, Denoising strength: 0.5, Clip skip: 2, ENSD: 31337, Hires upscale: 1.75, Hires steps: 20, Hires upscaler: Latent (antialiased),?
AddNet Enabled: True,?
AddNet Module 1: LoRA,?AddNet Model 1: stLouisLuxuriousWheels_v1(034b97419349), AddNet Weight A 1: 【】, AddNet Weight B 1: 【】
AddNet Module 2: LoRA, AddNet Model 2: koreanDollLikeness_v10(e2e472c06607),?
AddNet Weight A 2: 【】, AddNet Weight B 2: 【】
【】中代表權(quán)重0-1.2,每0.1為一步
同時(shí)本文所有照片均使用Hires.fix進(jìn)行放大,參數(shù)為Denoising?strength: 0.5, ?Hires upscale: 1.75, Hires steps: 20, Hires upscaler: Latent (antialiased),?
tag出處
https://civitai.com/gallery/104288?reviewId=14018&infinite=false&returnUrl=%2Fgallery%2F104288%3FreviewId%3D14018%26infinite%3Dfalse%26returnUrl%3D%252Fmodels%252F6669%252Fst-louis-luxurious-wheels-azur-lane,略有改進(jìn)。

以下默認(rèn)lora1為St.Louis (Luxurious Wheels) (Azur Lane),lora2為koreanDollLikeness
在雙lora的場(chǎng)景下,lora1為St.Louis (Luxurious Wheels) (Azur Lane),lora2為koreanDollLikeness。
為保證出圖帶有明顯的St.Louis元素,請(qǐng)使lora1權(quán)重為0.8-1(也可以超過1),lora2權(quán)重為0.3-0.7(甚至可以為負(fù)數(shù))
在更多的lora當(dāng)中,請(qǐng)確保遵循中心原則,確保中心lora為高權(quán)重,其余的lora權(quán)重可層階梯遞減,也可都是相同的小權(quán)重。
如(lora1:1,lora2:0.6,lora3:0.5)(lora1:1,lora2:0.4,lora3:0.4)
如面部細(xì)節(jié)不好,可開啟面部修復(fù)或使用Hires.fix。或拉高其他的lora并在prompt中填寫中心角色特征相對(duì)應(yīng)的tag。
同時(shí),該規(guī)律可推廣到其他不同訓(xùn)練的lora模型中。
示例:


lora1 Weight: 1.1? ? ? ? ? ?lora2 Weight: 0.4




lora1 Weight: 0.2? ? ? ? ?lora2 Weight: 0.5??

lora1 Weight: 0.2? ? ? lora2 Weight: 0.8
?注意此時(shí)的衣服已經(jīng)不是St. Louis的了,同時(shí) 也不能正確識(shí)別該prompt(long loose silver revealing dress:1.1)

lora1 Weight: 0.6? ?? ? ? ? ?lora2 Weight: 1.2
?與上文lora1 Weight: 1.2? ?? ? lora2 Weight: 0.6 對(duì)比崩壞明顯

即使是lora1的權(quán)重達(dá)到了1.2也無(wú)法壓過lora2 0.8,可以明顯的看出頭發(fā)變白了。
在prompt列表中加上long blue hair的詞條,頭發(fā)逐漸變藍(lán)。

lora1 Weight: 1.2 ? ? lora2 ?Weight: 0.8 + prompt long blue hair
由于這次圖片較大,PIL合并失敗了,我也是跑完才看到報(bào)錯(cuò),連忙去改了參數(shù)。故沒有合并的圖。
下載:
鏈接:https://pan.baidu.com/s/1ShSbqnpX2MSXHSxkSXqB-Q?pwd=q7ww?
提取碼:q7ww?
秒傳:0e8c11e739e98b8d7465a53f0739ecf3#3363034157#dir.zip
小弟水平不佳,本次測(cè)試僅供娛樂,選取樣本少,tag 描述低,理解不到位。若有錯(cuò)誤和建議可在評(píng)論區(qū)討論。