找回密码
 立即注册
搜索
查看: 4815|回复: 13

[原创] 【AI作图】Stable-Diffusion/NovelAI txt2img Sampler及Steps优选测试[SFW]

[复制链接]
     
发表于 2022-10-16 14:04 | 显示全部楼层 |阅读模式
本帖最后由 schneehertz 于 2022-10-16 17:28 编辑

测试一下各个Sampler生成图片的速度和收敛位置,主要为了确定在不同场景如何选取合适的Sampler和Steps
首先对所有的Sampler做一遍Steps 5-200的生成,固定除了这两个参数之外的其他参数



这里说明一下Heun, DPM2, DPM2 a, DPM2 Karras, DPM2 a Karras这几个Sampler的速度是其余Sampler的1/2左右
可以看出来:
1. Euler, Euler a, Heun, DPM2 Karras, DDIM这几个Sample在20steps就完成了收敛
2. Sampler中带a字样的在增加Step时,细节变动比不带a字样的大
3. 没有Sampler在高Steps时有优势

接着对Euler, Euler a, Heun, DPM2 Karras, DDIM这几个效果比较好的Sampler跑一遍10-20的生成

可以看到这几个Sampler都在16-18steps收敛,差距不大,结合速度来看,Euler,Euler a,DDIM是比较合适的选择

结论:
txt2img的场合,可以选Euler,Euler a,DDIM,Steps设为20
img2img的场合,如果需要微调细节,建议选Eular a,然后多试几个Steps

附上原图和Prompt及其他参数
https://cowtransfer.com/s/553d298d8c3949 点击链接或访问奶牛快传 cowtransfer.com 输入传输口令 5tqt0d 查看;
((masterpiece)), (((Katou Megumi))), (Bob cut), best quality, cinematic postprocessing lens flare, absurdres detailed, highly detailed, extremely detailed, highly intricate, extremely intricate, 1girl, dark brown eyes, beautiful detailed eyes, bangs, texturized bangs with layers, dark brown hair, texturized hair with layers, messy hair, hair ornament, blurry, blurry background, blurry foreground, blush, city lights, depth of field, festival, fireworks, aerial fireworks, galax, japanese clothes, kimono, floral print, light particles, long sleeves, looking at viewer, milky way, night, night sky, obi, outdoors, sash, shooting star, sitting, sky, aurora, space, sparkler, star (sky), starry sky, starry sky print, summer festival
Negative prompt: multiple breasts, (mutated hands and fingers:1.5 ), (long body :1.3), (mutation, poorly drawn :1.2) , black-white, bad anatomy, liquid body, liquid tongue, disfigured, malformed, mutated, anatomical nonsense, text font ui, error, malformed hands, long neck, blurred, lowers, lowres, bad anatomy, bad proportions, bad shadow, uncoordinated body, unnatural body, fused breasts, bad breasts, huge breasts, poorly drawn breasts, extra breasts, liquid breasts, heavy breasts, missing breasts, huge haunch, huge thighs, huge calf, bad hands, fused hand, missing hand, disappearing arms, disappearing thigh, disappearing calf, disappearing legs, fused ears, bad ears, poorly drawn ears, extra ears, liquid ears, heavy ears, missing ears, fused animal ears, bad animal ears, poorly drawn animal ears, extra animal ears, liquid animal ears, heavy animal ears, missing animal ears, text, ui, error, missing fingers, missing limb, fused fingers, one hand with more than 5 fingers, one hand with less than 5 fingers, one hand with more than 5 digit, one hand with less than 5 digit, extra digit, fewer digits, fused digit, missing digit, bad digit, liquid digit, colorful tongue, black tongue, cropped, watermark, username, blurry, JPEG artifacts, signature, 3D, 3D game, 3D game scene, 3D character, malformed feet, extra feet, bad feet, poorly drawn feet, fused feet, missing feet, extra shoes, bad shoes, fused shoes, more than two shoes, poorly drawn shoes, bad gloves, poorly drawn gloves, fused gloves, bad cum, poorly drawn cum, fused cum, bad hairs, poorly drawn hairs, fused hairs, big muscles, ugly, bad face, fused face, poorly drawn face, cloned face, big face, long face, bad eyes, fused eyes poorly drawn eyes, extra eyes, malformed limbs, more than 2 nipples, missing nipples, different nipples, fused nipples, bad nipples, poorly drawn nipples, black nipples, colorful nipples, gross proportions. short arm, (((missing arms))), missing thighs, missing calf, missing legs, mutation, duplicate, morbid, mutilated, poorly drawn hands, more than 1 left hand, more than 1 right hand, deformed, (blurry), disfigured, missing legs, extra arms, extra thighs, more than 2 thighs, extra calf, fused calf, extra legs, bad knee, extra knee, more than 2 legs, bad tails, bad mouth, fused mouth, poorly drawn mouth, bad tongue, tongue within mouth, too long tongue, black tongue, big mouth, cracked mouth, bad mouth, dirty face, dirty teeth, dirty pantie, fused pantie, poorly drawn pantie, fused cloth, poorly drawn cloth, bad pantie, yellow teeth, thick lips, bad cameltoe, colorful cameltoe, bad asshole, poorly drawn asshole, fused asshole, missing asshole, bad anus, bad pussy, bad crotch, bad crotch seam, fused anus, fused pussy, fused anus, fused crotch, poorly drawn crotch, fused seam, poorly drawn anus, poorly drawn pussy, poorly drawn crotch, poorly drawn crotch seam, bad thigh gap, missing thigh gap, fused thigh gap, liquid thigh gap, poorly drawn thigh gap, poorly drawn anus, bad collarbone, fused collarbone, missing collarbone, liquid collarbone, strong girl, obesity, worst quality, low quality, normal quality, liquid tentacles, bad tentacles, poorly drawn tentacles, split tentacles, fused tentacles, missing clit, bad clit, fused clit, colorful clit, black clit, liquid clit, QR code, bar code, censored, safety panties, safety knickers, beard, furry ,pony, pubic hair, mosaic, excrement, faces, shit, futa, testis
CFG scale: 11, Seed: 478883955, Size: 768x512, Model hash: 1d4a34af, Eta: 0.67, Clip skip: 2





评分

参与人数 4战斗力 +4 收起 理由
plazum + 1 好评加鹅
nexus1 + 1 好评加鹅
mahoraga + 1 有实力
双月城 + 1 技术贴好评

查看全部评分

回复

使用道具 举报

     
发表于 2022-10-16 16:56 | 显示全部楼层
euler a跑着跑着女主把身体转过来了可还行
回复

使用道具 举报

     
发表于 2022-10-16 17:32 | 显示全部楼层
就是说用默认步数更好的意思么?我记得默认是20
回复

使用道具 举报

     
 楼主| 发表于 2022-10-16 17:39 | 显示全部楼层
ads147147 发表于 2022-10-16 17:32
就是说用默认步数更好的意思么?我记得默认是20

是的,20步就可以了
回复

使用道具 举报

     
发表于 2022-10-16 18:40 来自手机 | 显示全部楼层
我经常开60steps真是吃亏
回复

使用道具 举报

     
发表于 2022-10-16 20:27 | 显示全部楼层
本帖最后由 提货人 于 2022-10-16 20:50 编辑

我也试了下,在指定画风的情况下,我用的cygames
Euler,Euler a在20完成主要部分?20~30step之间会更改细节,虽然说AI添加的细节有时候真的一言难尽吧

考虑了一下,应该描述成,在20步是完成主体,其他细节地方如果没有设定会不断更改,steps完时抽到哪个算哪个这种感觉?
换了张steps多一些的图

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
回复

使用道具 举报

头像被屏蔽
     
发表于 2022-10-16 20:28 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

     
发表于 2022-10-16 20:37 | 显示全部楼层
提货人 发表于 2022-10-16 20:27
我也试了下,在指定画风的情况下,我用的cygames
Euler,Euler a在20完成主要部分?20~30step之间会更改细 ...

可以给个tag吗,很喜欢这个风格。
回复

使用道具 举报

     
发表于 2022-10-16 20:44 | 显示全部楼层
dayuii 发表于 2022-10-16 20:37
可以给个tag吗,很喜欢这个风格。

{best quality}, {{masterpiece}}, {highres}, original,extremely wallpaper,extremely detailed CG unity 8k wallpaper,illustration,highly detail face,highly detail dragon girl.
dragon girl,dragon horns, tails,cygames,wings, long hair, horn ,highly detailed,1girl, long darkred hair, maroon eyes,earring
Negative prompt: {more than 5 fingers},{{{long neck}}},lowres, bad anatomy, bad hands, text, error,extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, bad feet,{{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, {bad anatomy}, gross proportions,{malformed limbs}, {{missing arms}}, {{missing legs}}, {{{extra arms}}}, {{{extra legs}}}, mutated hands, {fused fingers},missing fingers,{too many legs},{too many breasts},{more than 1 left leg},{more than 1 right leg},{more than 1 left hand},{more than 1 right hand} ,{too many penis},futa

评分

参与人数 1战斗力 +1 收起 理由
dayuii + 1 好评加鹅

查看全部评分

回复

使用道具 举报

     
发表于 2022-10-16 21:03 | 显示全部楼层
是我咒语不对吗,一般20步才刚成人形
回复

使用道具 举报

     
发表于 2022-10-16 22:12 | 显示全部楼层
我感觉还是得看词条,背景复杂的只有20好像经常会出怪图
回复

使用道具 举报

     
发表于 2022-10-16 22:14 来自手机 | 显示全部楼层
和图的复杂程度确实有关系

—— 来自 Xiaomi Redmi K20 Pro, Android 11上的 S1Next-鹅版 v2.5.4
回复

使用道具 举报

     
发表于 2022-10-18 18:20 | 显示全部楼层
更改分辨率之后这些参数影响会有变化吗
回复

使用道具 举报

     
 楼主| 发表于 2022-10-18 20:01 | 显示全部楼层
本帖最后由 schneehertz 于 2022-10-18 20:06 编辑
昊生之德 发表于 2022-10-18 18:20
更改分辨率之后这些参数影响会有变化吗

这是960x768的测试, Euler, Euler a收敛步数在20以前,DDIM的收敛步数在22,同时Eular a的变动程度提高了。

Euler


Euler a


DDIM





回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|上海互联网违法和不良信息举报中心|网上有害信息举报专区|962110 反电信诈骗|举报电话 021-62035905|Stage1st ( 沪ICP备13020230号-1|沪公网安备 31010702007642号 )

GMT+8, 2024-6-6 03:45 , Processed in 0.043481 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表