美文网首页
2023-07-19

2023-07-19

作者: 大法师的输出 | 来源:发表于2023-07-18 06:00 被阅读0次

    今天继续围绕放大算法进行一些尝试。看看8X_NMKD-SUPERSCALE_150000_G的放大算法。

    图像的底模采用OldFish_2348V12

    使用最简单的提示词1girl,套了一个GoodHand-beta2的LoRA,在对人物形象做一些微调 

    <lora:chinaDollLikeness_v10:0.6> <lora:cheeseDaddys_35:0.3> <lora:yuantu:0.4>

    负面提示词主要就是常规的几个embedding和NSFW

    nsfw,logo,text bad-artist badhandv4

    初始图形采用的是竖版678*1024的分辨率,DPM++SDE Karras的采样器,采样步数33

    高清放大算法使用了前面提到的8X_NMKD-SUPERSCALE_150000_G

    高清分辨率采样步数:30

    高清重绘强度0.3

    放大倍率为3的时候,运行了7分钟左右发生错误

    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分钟出图

    原始小图

    放大图像参数

    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

    8x_NMKD-Superscale_150000_G 双法放大2倍

    提高采样步数到50,运行时间大约4分钟。

    看看对比效果

    新图

    接下来固定种子882626065换一个底模:xxmix9realistic_v30

    高清采样步数50,重绘强度0.3

    耗时基本接近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

    原始图像 放大图像

    增加正面提示词的复杂度,丰富图像细节。

    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

    原始图

    接下里采用高清修复,耗时接近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

    放大后的效果

    尝试更换另一个常用人像模型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: 707807382, Face restoration: CodeFormer, Size: 768x1024, Model hash: bde6750eac, Model: majicmixFantasy_v20

    原图

    耗时依然稳定在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: 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

    放大2倍后的效果

    另一张图

    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倍效果

    尝试放大2.5倍,耗时约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

    放大2.5倍后的效果

    相关文章

      网友评论

          本文标题:2023-07-19

          本文链接:https://www.haomeiwen.com/subject/lqatudtx.html