Skip to content

Instantly share code, notes, and snippets.

@mcmonkey4eva
Last active January 28, 2023 03:23
Show Gist options
  • Save mcmonkey4eva/fccd29172f44424dfc0217a482c824f6 to your computer and use it in GitHub Desktop.
Save mcmonkey4eva/fccd29172f44424dfc0217a482c824f6 to your computer and use it in GitHub Desktop.
grid:
title: Dynamic Threshold
author: mcmonkey
description: Testing of the Dynamic Thresholding (CFG Scale Fix) extension
format: jpg
params:
dynamicthresholdenable: true
axes:
prompt:
title: prompt
values:
cat: prompt=a cat
dog: prompt=a dog
advanced_dog:
title: Dog (with details)
params:
prompt: 4k, masterpiece, detailed, dog running in a park, paws, closeup, hdr, f1.8
negative prompt: blurry, meme, shitpost, mutilated, mutant, deformed, text, logo, watermark, monochrome, B&W, cropped, cat, horse
seed:
title: Seed
values:
1: seed=1
2: seed=2
3: seed=3
sampler:
title: Sampler
values:
euler: sampler=Euler
dpm2m: sampler=DPM++ 2M Karras
lms: sampler=LMS
steps:
title: Steps
values:
20: steps=20
40: steps=40
cfg_scale:
title: CFG Scale
values:
#7: cfgscale=7
10: cfgscale=10
15: cfgscale=15
20: cfgscale=20
30: cfgscale=30
50: cfgscale=50
100: cfgscale=100
mimic_scale:
title: Mimic Scale
values:
disabled:
title: Disable Threshold
params:
dynamicthresholdenable: false
#1: dynamicthresholdmimicscale=1
#5: dynamicthresholdmimicscale=5
7: dynamicthresholdmimicscale=7
10: dynamicthresholdmimicscale=10
15: dynamicthresholdmimicscale=15
30: dynamicthresholdmimicscale=30
percentile:
title: Top percentile clamp
default: 100
values:
90:
title: 90
skip: true
params:
dynamicthresholdthresholdpercentile: 90
99:
title: 99
skip: true
params:
dynamicthresholdthresholdpercentile: 99
#99_9: dynamicthresholdthresholdpercentile=99.9
100: dynamicthresholdthresholdpercentile=100
mimic_scale_scheduler:
title: Mimic Scale Scheduler
default: linear_down
values:
constant:
title: Constant
skip: true
params:
dynamicthresholdmimicmode: constant
linear_up:
title: Linear Up
skip: true
params:
dynamicthresholdmimicmode: linear up
linear_down: dynamicthresholdmimicmode=linear down
cosine_up:
title: Cosine Up
skip: true
params:
dynamicthresholdmimicmode: cosine up
cosine_down:
title: Cosine Down
skip: true
params:
dynamicthresholdmimicmode: cosine down
cfg_scale_scheduler:
title: CFG Scale Scheduler
default: linear_down
values:
constant:
title: Constant
skip: true
params:
dynamicthresholdcfgmode: constant
linear_up:
title: Linear Up
skip: true
params:
dynamicthresholdcfgmode: linear up
linear_down: dynamicthresholdcfgmode=linear down
cosine_up:
title: Cosine Up
skip: true
params:
dynamicthresholdcfgmode: cosine up
cosine_down:
title: Cosine Down
skip: true
params:
dynamicthresholdcfgmode: cosine down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment