今天繼續(xù)圍繞放大算法進(jìn)行一些嘗試誉察⊙忍看看8X_NMKD-SUPERSCALE_150000_G的放大算法唧喉。
圖像的底模采用OldFish_2348V12
使用最簡(jiǎn)單的提示詞1girl困檩,套了一個(gè)GoodHand-beta2的LoRA绳锅,在對(duì)人物形象做一些微調(diào)?
<lora:chinaDollLikeness_v10:0.6> <lora:cheeseDaddys_35:0.3> <lora:yuantu:0.4>
負(fù)面提示詞主要就是常規(guī)的幾個(gè)embedding和NSFW
nsfw,logo,text bad-artist badhandv4
初始圖形采用的是豎版678*1024的分辨率,DPM++SDE Karras的采樣器,采樣步數(shù)33
高清放大算法使用了前面提到的8X_NMKD-SUPERSCALE_150000_G
高清分辨率采樣步數(shù):30
高清重繪強(qiáng)度0.3
放大倍率為3的時(shí)候躺翻,運(yùn)行了7分鐘左右發(fā)生錯(cuò)誤
NansException: A tensor with all NaNs was produced in VAE. This could be because there's not enough precision to represent the picture. Try adding --no-half-vae commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check.Time taken:?10m 16.83sTorch active/reserved: 17952/22066 MiB,?Sys VRAM: 22437/24269 MiB (92.45%)
改成2倍放大2分鐘出圖
放大圖像參數(shù)
1girl,mid shot, nice hand,nice finger,good hand,good finger,<lora:GoodHands-beta2:1> <lora:chinaDollLikeness_v10:0.6> <lora:cheeseDaddys_35:0.3> <lora:yuantu:0.4> Negative prompt: nsfw,logo,text bad-artist badhandv4 Steps: 33, Sampler: DPM++ SDE Karras, CFG scale: 3, Seed: 2621774374, Face restoration: CodeFormer, Size: 768x1024, Model hash: bd399ee451, Model: OldFish_2348V12, Variation seed: 908520332, Variation seed strength: 1, Seed resize from: 568x952, Denoising strength: 0.3, Hires upscale: 2, Hires steps: 30, Hires upscaler: 8x_NMKD-Superscale_150000_G
提高采樣步數(shù)到50丧叽,運(yùn)行時(shí)間大約4分鐘。
看看對(duì)比效果
接下來(lái)固定種子882626065換一個(gè)底模:xxmix9realistic_v30
高清采樣步數(shù)50公你,重繪強(qiáng)度0.3
耗時(shí)基本接近4分鐘
1girl,mid shot, nice hand,nice finger,good hand,good finger,<lora:GoodHands-beta2:1> <lora:chinaDollLikeness_v10:0.6> <lora:cheeseDaddys_35:0.3> <lora:yuantu:0.4> Negative prompt: nsfw,logo,text bad-artist badhandv4 Steps: 33, Sampler: DPM++ SDE Karras, CFG scale: 3, Seed: 882626065, Face restoration: CodeFormer, Size: 768x1024, Model hash: 2030eae609, Model: xxmix9realistic_v30, Denoising strength: 0.3, Hires upscale: 2, Hires steps: 50, Hires upscaler: 8x_NMKD-Superscale_150000_G
增加正面提示詞的復(fù)雜度蠢正,豐富圖像細(xì)節(jié)。
1girl,classroom省店,window side,mid shot, nice hand,nice finger,good hand,good finger,HDR,UHD,8K, best quality, masterpiece, Highly detailed, Studio lighting, ultra-fine painting, sharp focus, physically-based rendering, extreme detail description, Professional, Vivid Colors, Bokeh, (EOS R8,50mm,F1.2,8K,RAW photo:1.2),<lora:GoodHands-beta2:1> <lora:chinaDollLikeness_v10:0.6> <lora:cheeseDaddys_35:0.3> <lora:yuantu:0.4>, Negative prompt: nsfw,logo,text bad-artist badhandv4, Steps: 33, Sampler: DPM++ SDE Karras, CFG scale: 3, Seed: 882626065, Face restoration: CodeFormer, Size: 768x1024, Model hash: 2030eae609, Model: xxmix9realistic_v30
接下里采用高清修復(fù)笨触,耗時(shí)接近4分鐘
1girl,classroom懦傍,window side,mid shot, nice hand,nice finger,good hand,good finger,HDR,UHD,8K, best quality, masterpiece, Highly detailed, Studio lighting, ultra-fine painting, sharp focus, physically-based rendering, extreme detail description, Professional, Vivid Colors, Bokeh, (EOS R8,50mm,F1.2,8K,RAW photo:1.2),<lora:GoodHands-beta2:1> <lora:chinaDollLikeness_v10:0.6> <lora:cheeseDaddys_35:0.3> <lora:yuantu:0.4>, Negative prompt: nsfw,logo,text bad-artist badhandv4, Steps: 33, Sampler: DPM++ SDE Karras, CFG scale: 3, Seed: 882626065, Face restoration: CodeFormer, Size: 768x1024, Model hash: 2030eae609, Model: xxmix9realistic_v30, Denoising strength: 0.3, Hires upscale: 2, Hires steps: 50, Hires upscaler: 8x_NMKD-Superscale_150000_G
嘗試更換另一個(gè)常用人像模型majicmixFantasy_v20芦劣,營(yíng)造的畫面細(xì)節(jié)更豐富粗俱,光影也更復(fù)雜
1girl,classroom,window side,mid shot, nice hand,nice finger,good hand,good finger,HDR,UHD,8K, best quality, masterpiece, Highly detailed, Studio lighting, ultra-fine painting, sharp focus, physically-based rendering, extreme detail description, Professional, Vivid Colors, Bokeh, (EOS R8,50mm,F1.2,8K,RAW photo:1.2)虚吟,<lora:GoodHands-beta2:1> <lora:chinaDollLikeness_v10:0.6> <lora:cheeseDaddys_35:0.3> <lora:yuantu:0.4>, Negative prompt: nsfw,logo,text bad-artist badhandv4, Steps: 33, Sampler: DPM++ SDE Karras, CFG scale: 3, Seed: 707807382, Face restoration: CodeFormer, Size: 768x1024, Model hash: bde6750eac, Model: majicmixFantasy_v20
耗時(shí)依然穩(wěn)定在4分鐘內(nèi)寸认。
1girl,classroom,window side,mid shot, nice hand,nice finger,good hand,good finger,HDR,UHD,8K, best quality, masterpiece, Highly detailed, Studio lighting, ultra-fine painting, sharp focus, physically-based rendering, extreme detail description, Professional, Vivid Colors, Bokeh, (EOS R8,50mm,F1.2,8K,RAW photo:1.2)串慰,<lora:GoodHands-beta2:1> <lora:chinaDollLikeness_v10:0.6> <lora:cheeseDaddys_35:0.3> <lora:yuantu:0.4>, Negative prompt: nsfw,logo,text bad-artist badhandv4, Steps: 33, Sampler: DPM++ SDE Karras, CFG scale: 3, Seed: 707807382, Face restoration: CodeFormer, Size: 768x1024, Model hash: bde6750eac, Model: majicmixFantasy_v20, Denoising strength: 0.3, Hires upscale: 2, Hires steps: 50, Hires upscaler: 8x_NMKD-Superscale_150000_G
另一張圖
1girl,classroom偏塞,window side,mid shot, nice hand,nice finger,good hand,good finger,HDR,UHD,8K, best quality, masterpiece, Highly detailed, Studio lighting, ultra-fine painting, sharp focus, physically-based rendering, extreme detail description, Professional, Vivid Colors, Bokeh, (EOS R8,50mm,F1.2,8K,RAW photo:1.2),<lora:GoodHands-beta2:1> <lora:chinaDollLikeness_v10:0.6> <lora:cheeseDaddys_35:0.3> <lora:yuantu:0.4>, Negative prompt: nsfw,logo,text bad-artist badhandv4, Steps: 33, Sampler: DPM++ SDE Karras, CFG scale: 3, Seed: 707807385, Face restoration: CodeFormer, Size: 768x1024, Model hash: bde6750eac, Model: majicmixFantasy_v20
1girl,classroom邦鲫,window side,mid shot, nice hand,nice finger,good hand,good finger,HDR,UHD,8K, best quality, masterpiece, Highly detailed, Studio lighting, ultra-fine painting, sharp focus, physically-based rendering, extreme detail description, Professional, Vivid Colors, Bokeh, (EOS R8,50mm,F1.2,8K,RAW photo:1.2)灸叼,<lora:GoodHands-beta2:1> <lora:chinaDollLikeness_v10:0.6> <lora:cheeseDaddys_35:0.3> <lora:yuantu:0.4>, Negative prompt: nsfw,logo,text bad-artist badhandv4, Steps: 33, Sampler: DPM++ SDE Karras, CFG scale: 3, Seed: 707807385, Face restoration: CodeFormer, Size: 768x1024, Model hash: bde6750eac, Model: majicmixFantasy_v20, Denoising strength: 0.3, Hires upscale: 2, Hires steps: 50, Hires upscaler: 8x_NMKD-Superscale_150000_G
嘗試放大2.5倍,耗時(shí)約8分鐘~9分鐘
1girl,classroom庆捺,window side,mid shot, nice hand,nice finger,good hand,good finger,HDR,UHD,8K, best quality, masterpiece, Highly detailed, Studio lighting, ultra-fine painting, sharp focus, physically-based rendering, extreme detail description, Professional, Vivid Colors, Bokeh, (EOS R8,50mm,F1.2,8K,RAW photo:1.2)古今,<lora:GoodHands-beta2:1> <lora:chinaDollLikeness_v10:0.6> <lora:cheeseDaddys_35:0.3> <lora:yuantu:0.4>, Negative prompt: nsfw,logo,text bad-artist badhandv4, Steps: 33, Sampler: DPM++ SDE Karras, CFG scale: 3, Seed: 707807385, Face restoration: CodeFormer, Size: 768x1024, Model hash: bde6750eac, Model: majicmixFantasy_v20, Denoising strength: 0.3, Hires upscale: 2.5, Hires steps: 50, Hires upscaler: 8x_NMKD-Superscale_150000_G