2023-07-19

今天繼續(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

8x_NMKD-Superscale_150000_G 雙法放大2倍

提高采樣步數(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


放大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倍,耗時(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


放大2.5倍后的效果
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市滔以,隨后出現(xiàn)的幾起案子捉腥,更是在濱河造成了極大的恐慌,老刑警劉巖你画,帶你破解...
    沈念sama閱讀 216,470評(píng)論 6 501
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件抵碟,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡撬即,警方通過(guò)查閱死者的電腦和手機(jī)立磁,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 92,393評(píng)論 3 392
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái)剥槐,“玉大人唱歧,你說(shuō)我怎么就攤上這事。” “怎么了颅崩?”我有些...
    開(kāi)封第一講書人閱讀 162,577評(píng)論 0 353
  • 文/不壞的土叔 我叫張陵几于,是天一觀的道長(zhǎng)。 經(jīng)常有香客問(wèn)我沿后,道長(zhǎng)沿彭,這世上最難降的妖魔是什么? 我笑而不...
    開(kāi)封第一講書人閱讀 58,176評(píng)論 1 292
  • 正文 為了忘掉前任尖滚,我火速辦了婚禮喉刘,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘漆弄。我一直安慰自己睦裳,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,189評(píng)論 6 388
  • 文/花漫 我一把揭開(kāi)白布撼唾。 她就那樣靜靜地躺著廉邑,像睡著了一般。 火紅的嫁衣襯著肌膚如雪倒谷。 梳的紋絲不亂的頭發(fā)上蛛蒙,一...
    開(kāi)封第一講書人閱讀 51,155評(píng)論 1 299
  • 那天,我揣著相機(jī)與錄音渤愁,去河邊找鬼牵祟。 笑死,一個(gè)胖子當(dāng)著我的面吹牛猴伶,可吹牛的內(nèi)容都是我干的课舍。 我是一名探鬼主播,決...
    沈念sama閱讀 40,041評(píng)論 3 418
  • 文/蒼蘭香墨 我猛地睜開(kāi)眼他挎,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼筝尾!你這毒婦竟也來(lái)了?” 一聲冷哼從身側(cè)響起办桨,我...
    開(kāi)封第一講書人閱讀 38,903評(píng)論 0 274
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤筹淫,失蹤者是張志新(化名)和其女友劉穎,沒(méi)想到半個(gè)月后呢撞,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體损姜,經(jīng)...
    沈念sama閱讀 45,319評(píng)論 1 310
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,539評(píng)論 2 332
  • 正文 我和宋清朗相戀三年殊霞,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了摧阅。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 39,703評(píng)論 1 348
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡绷蹲,死狀恐怖棒卷,靈堂內(nèi)的尸體忽然破棺而出顾孽,到底是詐尸還是另有隱情,我是刑警寧澤比规,帶...
    沈念sama閱讀 35,417評(píng)論 5 343
  • 正文 年R本政府宣布若厚,位于F島的核電站,受9級(jí)特大地震影響蜒什,放射性物質(zhì)發(fā)生泄漏测秸。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,013評(píng)論 3 325
  • 文/蒙蒙 一灾常、第九天 我趴在偏房一處隱蔽的房頂上張望霎冯。 院中可真熱鬧,春花似錦钞瀑、人聲如沸肃晚。這莊子的主人今日做“春日...
    開(kāi)封第一講書人閱讀 31,664評(píng)論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)。三九已至拧廊,卻和暖如春监徘,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背吧碾。 一陣腳步聲響...
    開(kāi)封第一講書人閱讀 32,818評(píng)論 1 269
  • 我被黑心中介騙來(lái)泰國(guó)打工凰盔, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人倦春。 一個(gè)月前我還...
    沈念sama閱讀 47,711評(píng)論 2 368
  • 正文 我出身青樓户敬,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親睁本。 傳聞我的和親對(duì)象是個(gè)殘疾皇子尿庐,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 44,601評(píng)論 2 353

推薦閱讀更多精彩內(nèi)容