mcmonkeyprojects / sd-infinity-grid-generator-script

Infinite-Axis Grid Generator for Stable Diffusion!
MIT License
180 stars 24 forks source link

Search replace question #147

Closed rafstahelin closed 4 months ago

rafstahelin commented 4 months ago

almost there. In my yaml for infinite grid I am trying to replace the strenght of lora in prompt by generating strenghts 1 and 0.8

Prompt Replace:
    title: prompt Replacements
    values:
      strenght: PromptReplace= :1 :0.8 = :1
      model training steps: PromptReplace= 1800 = 1800 = 3000 = 4000

I’d like replace several different values for strength and for model-learning-steps. Not sure what the syntax is In the case of 1800 value, I'd like first to use 1800 then 3000 then 4000

mcmonkey4eva commented 4 months ago

comma separated list: 1800, 3000, 4000

rafstahelin commented 4 months ago

Weird why I didn't see it thx

rafstahelin commented 4 months ago

Finally got it work fully. What a beast of an extension. Thanks @mcmonkey4eva! 🫡

rafstahelin commented 4 months ago

😨😨 I've been at it again. I cant for the life of me find the cause of the NoneType object

Short example works when i run it. I switch to my lora xy plot and get the error Here's the code:

grid:
    title: Lora XY Plot - r1anne
    author: by raf stahelin
    description: >
                 Search the best Lora Parameters
    stylesheet: >
                h1 {
                    color: #0055ff;
                }
    params:
        steps: 30
        Sampler: euler
        seed: 1
        OutWidth: 1024
        OutHeight: 1280
    format: png
    skip_invalid: false
    show descriptions: true
    autoscale: false
    sticky: false
    x axis: prompt
    y axis: cfg
    x super axis: 'None'
    y super axis: 'None'

axes:
    prompt:
        title: Prompt
        values:
            rianne_101:
                title: rianne101
                params:
                    prompt: "<lora:r1anne_101_ds10rep20bs2dim12864_lora_admw8-000002:1> a photo of r1anne woman"
            rianne_102:
                title: rianne102
                params:
                    prompt: "<lora:r1anne_102_ds10rep20bs4_2e4_dim12864_lora_admw8-000001:1> a photo of r1anne woman woman"

  promptreplaceexample:
        title: Prompt Replacements
        values:
            PromptReplace: 000002, 000014
    cfgscale:
        title: CFG Scale
        default: 7
        values:
            3: CFG scale=3
            5: CFG scale=5
            7: CFG scale=7
            9: CFG scale=9

Plpease show me what is wrong

mcmonkey4eva commented 4 months ago

What's the error message?

rafstahelin commented 4 months ago

Traceback (most recent call last): File "E:\stable-diffusion-webui-forge\modules\call_queue.py", line 57, in f res = list(func(*args, **kwargs)) TypeError: 'NoneType' object is not iterable

mcmonkey4eva commented 4 months ago

... where's the rest of it?

ps Forge project was shut down and lllyasviel said everyone should switch back to upstream auto webui

rafstahelin commented 4 months ago

yes but i have not updated. it runs fine. your small example.yml runs fine

    raise RuntimeError(f"Cannot find axis '{id}' for axis default
'{axis}'... valid: {[x.raw_id for x in grid.axes]}")
RuntimeError: Cannot find axis 'cfg' for axis default 'y axis'... valid:
['prompt', 'promptreplaceexample', 'cfgscale']
Cannot find axis 'cfg' for axis default 'y axis'... valid: ['prompt',
'promptreplaceexample', 'cfgscale']
*** Error completing request
*** Arguments: ('task(vlxolzltgtxkqkm)', <gradio.routes.Request object at
0x000002292A0168F0>, '', '', [], 20, 'DPM++ 2M Karras', 1, 1, 7, 1280,
1024, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same
sampler', '', '', [], 4, False, '', 0.8, -1, False, -1, 0, 0, 0, True,
False, 1, False, False, False, 1.1, 1.5, 100, 0.7, False, False, True,
False, False, 0, 'Gustavosta/MagicPrompt-Stable-Diffusion', '',
ControlNetUnit(input_mode=<InputMode.SIMPLE: 'simple'>,
use_preview_as_input=False, batch_image_dir='', batch_mask_dir='',
batch_input_gallery=[], batch_mask_gallery=[], generated_image=None,
mask_image=None, hr_option='Both', enabled=False, module='None',
model='None', weight=1, image=None, resize_mode='Crop and Resize',
processor_res=-1, threshold_a=-1, threshold_b=-1, guidance_start=0,
guidance_end=1, pixel_perfect=False, control_mode='Balanced',
save_detected_map=True), ControlNetUnit(input_mode=<InputMode.SIMPLE:
'simple'>, use_preview_as_input=False, batch_image_dir='',
batch_mask_dir='', batch_input_gallery=[], batch_mask_gallery=[],
generated_image=None, mask_image=None, hr_option='Both', enabled=False,
module='None', model='None', weight=1, image=None, resize_mode='Crop and
Resize', processor_res=-1, threshold_a=-1, threshold_b=-1,
guidance_start=0, guidance_end=1, pixel_perfect=False,
control_mode='Balanced', save_detected_map=True),
ControlNetUnit(input_mode=<InputMode.SIMPLE: 'simple'>,
use_preview_as_input=False, batch_image_dir='', batch_mask_dir='',
batch_input_gallery=[], batch_mask_gallery=[], generated_image=None,
mask_image=None, hr_option='Both', enabled=False, module='None',
model='None', weight=1, image=None, resize_mode='Crop and Resize',
processor_res=-1, threshold_a=-1, threshold_b=-1, guidance_start=0,
guidance_end=1, pixel_perfect=False, control_mode='Balanced',
save_detected_map=True), False, 7, 1, 'Constant', 0, 'Constant', 0, 1,
'enable', 'MEAN', 'AD', 1, False, 1.01, 1.02, 0.99, 0.95, False, 0.5, 2,
False, 256, 2, 0, False, False, 3, 2, 0, 0.35, True, 'bicubic', 'bicubic',
False, 0, 'anisotropic', 0, 'reinhard', 100, 0, 'subtract', 0, 0,
'gaussian', 'add', 0, 100, 127, 0, 'hard_clamp', 5, 0, 'None', 'None',
False, 'MultiDiffusion', 768, 768, 64, 4, False, False, False, False,
False, 'positive', 'comma', 0, False, False, 'start', '', 1, '', [], 0, '',
[], 0, '', [], True, False, False, False, False, False, False, 0, False,
False, True, False, True, True, 'lora-xyplot-r1anne.yml', False, '123111',
False, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Positive', 0,
', ', 'Generate and always save', 32) {}
    Traceback (most recent call last):
      File "E:\stable-diffusion-webui-forge\modules\call_queue.py", line
57, in f
        res = list(func(*args, **kwargs))
    TypeError: 'NoneType' object is not iterable

On Mon, Jun 10, 2024 at 4:54 PM mcmonkey4eva @.***> wrote:

... where's the rest of it?

ps Forge project was shut down and lllyasviel said everyone should switch back to upstream auto webui

— Reply to this email directly, view it on GitHub https://github.com/mcmonkeyprojects/sd-infinity-grid-generator-script/issues/147#issuecomment-2158586293, or unsubscribe https://github.com/notifications/unsubscribe-auth/APNXTFVXZOW35NLZLII7IPLZGW435AVCNFSM6AAAAABI6VPQFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJYGU4DMMRZGM . You are receiving this because you authored the thread.Message ID: <mcmonkeyprojects/sd-infinity-grid-generator-script/issues/147/2158586293@ github.com>

-- thanks

best regards, raf

rafstahelin commented 4 months ago

ok. looks like my problem is prompt replacement. If i remove the highlighted part, it runs fine:

[image: image.png] here's the yml:

This is a YAML file, so all content must be configured per YAML

specification.

grid title: Lora XY Plot author: by raf stahelin description: > Search the best Lora Parameters stylesheet: > h1 { color: #0055ff; } params: steps: 30 Sampler: euler seed: 1 OutWidth: 256 OutHeight: 256 format: jpg skip_invalid: false show descriptions: true autoscale: false sticky: false x axis: prompt y axis: cfg x super axis: 'None' y super axis: 'None'

axes: prompt: title: Prompt values: rianne_101: title: rianne101 params: prompt: " a photo of r1anne woman"

promptreplaceexample:
    title: Prompt Replacements
    values:
        epochs: PromptReplace= 000002 = 000014

prompt_replace_2:
    title: Strength
    values:
        1: PromptReplace=:1
        0.08: PromptReplace=:0.08
        0.06: PromptReplace=:0.06

cfg:
    title: CFG Scale
    values:
        5: CFG scale=5
        7.5: CFG scale=7.5
        9: CFG scale=9

On Mon, Jun 10, 2024 at 4:58 PM raf | raf.studio @.***> wrote:

yes but i have not updated. it runs fine. your small example.yml runs fine

    raise RuntimeError(f"Cannot find axis '{id}' for axis default
'{axis}'... valid: {[x.raw_id for x in grid.axes]}")
RuntimeError: Cannot find axis 'cfg' for axis default 'y axis'... valid:
['prompt', 'promptreplaceexample', 'cfgscale']
Cannot find axis 'cfg' for axis default 'y axis'... valid: ['prompt',
'promptreplaceexample', 'cfgscale']
*** Error completing request
*** Arguments: ('task(vlxolzltgtxkqkm)', <gradio.routes.Request object at
0x000002292A0168F0>, '', '', [], 20, 'DPM++ 2M Karras', 1, 1, 7, 1280,
1024, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same
sampler', '', '', [], 4, False, '', 0.8, -1, False, -1, 0, 0, 0, True,
False, 1, False, False, False, 1.1, 1.5, 100, 0.7, False, False, True,
False, False, 0, 'Gustavosta/MagicPrompt-Stable-Diffusion', '',
ControlNetUnit(input_mode=<InputMode.SIMPLE: 'simple'>,
use_preview_as_input=False, batch_image_dir='', batch_mask_dir='',
batch_input_gallery=[], batch_mask_gallery=[], generated_image=None,
mask_image=None, hr_option='Both', enabled=False, module='None',
model='None', weight=1, image=None, resize_mode='Crop and Resize',
processor_res=-1, threshold_a=-1, threshold_b=-1, guidance_start=0,
guidance_end=1, pixel_perfect=False, control_mode='Balanced',
save_detected_map=True), ControlNetUnit(input_mode=<InputMode.SIMPLE:
'simple'>, use_preview_as_input=False, batch_image_dir='',
batch_mask_dir='', batch_input_gallery=[], batch_mask_gallery=[],
generated_image=None, mask_image=None, hr_option='Both', enabled=False,
module='None', model='None', weight=1, image=None, resize_mode='Crop and
Resize', processor_res=-1, threshold_a=-1, threshold_b=-1,
guidance_start=0, guidance_end=1, pixel_perfect=False,
control_mode='Balanced', save_detected_map=True),
ControlNetUnit(input_mode=<InputMode.SIMPLE: 'simple'>,
use_preview_as_input=False, batch_image_dir='', batch_mask_dir='',
batch_input_gallery=[], batch_mask_gallery=[], generated_image=None,
mask_image=None, hr_option='Both', enabled=False, module='None',
model='None', weight=1, image=None, resize_mode='Crop and Resize',
processor_res=-1, threshold_a=-1, threshold_b=-1, guidance_start=0,
guidance_end=1, pixel_perfect=False, control_mode='Balanced',
save_detected_map=True), False, 7, 1, 'Constant', 0, 'Constant', 0, 1,
'enable', 'MEAN', 'AD', 1, False, 1.01, 1.02, 0.99, 0.95, False, 0.5, 2,
False, 256, 2, 0, False, False, 3, 2, 0, 0.35, True, 'bicubic', 'bicubic',
False, 0, 'anisotropic', 0, 'reinhard', 100, 0, 'subtract', 0, 0,
'gaussian', 'add', 0, 100, 127, 0, 'hard_clamp', 5, 0, 'None', 'None',
False, 'MultiDiffusion', 768, 768, 64, 4, False, False, False, False,
False, 'positive', 'comma', 0, False, False, 'start', '', 1, '', [], 0, '',
[], 0, '', [], True, False, False, False, False, False, False, 0, False,
False, True, False, True, True, 'lora-xyplot-r1anne.yml', False, '123111',
False, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Positive', 0,
', ', 'Generate and always save', 32) {}
    Traceback (most recent call last):
      File "E:\stable-diffusion-webui-forge\modules\call_queue.py", line
57, in f
        res = list(func(*args, **kwargs))
    TypeError: 'NoneType' object is not iterable

On Mon, Jun 10, 2024 at 4:54 PM mcmonkey4eva @.***> wrote:

... where's the rest of it?

ps Forge project was shut down and lllyasviel said everyone should switch back to upstream auto webui

— Reply to this email directly, view it on GitHub https://github.com/mcmonkeyprojects/sd-infinity-grid-generator-script/issues/147#issuecomment-2158586293, or unsubscribe https://github.com/notifications/unsubscribe-auth/APNXTFVXZOW35NLZLII7IPLZGW435AVCNFSM6AAAAABI6VPQFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJYGU4DMMRZGM . You are receiving this because you authored the thread.Message ID: <mcmonkeyprojects/sd-infinity-grid-generator-script/issues/147/2158586293 @github.com>

-- thanks

best regards, raf

-- thanks

best regards, raf

rafstahelin commented 4 months ago

Ok, i got it working all, except for Styles, which I have placed at the end. But i dont see it being added to the prompt

grid: title: Lora XY Plot author: by raf stahelin description: > Search the best Lora Parameters stylesheet: > h1 { color: #0055ff; } params: steps: 30 Sampler: euler seed: 1 OutWidth: 1024 OutHeight: 1280 format: png skip_invalid: false show descriptions: true autoscale: false sticky: false x axis: prompt y axis: cfg x super axis: 'None' y super axis: 'None'

axes: prompt: title: Prompt values: rianne_101: title:

a photo of r1anne woman params: prompt: " a photo of r1anne woman" rianne_103: title: a photo of r1anne woman params: prompt: " a photo of r1anne woman" promptreplaceexample: title: Prompt Replacements values: epochs: PromptReplace 1: 000010, 000012 strenght: PromptReplace 2: :1, :0.8 cfg: title: CFG Scale values: 5: CFG scale=5 7.5: CFG scale=7 Styles: desert, studio [image: image.png] On Mon, Jun 10, 2024 at 5:20 PM raf | raf.studio ***@***.***> wrote: > > ok. looks like my problem is *prompt replacement*. If i remove the > highlighted part, it runs fine: > > [image: image.png] > here's the yml: > > # This is a YAML file, so all content must be configured per YAML > specification. > > grid > title: Lora XY Plot > author: by raf stahelin > description: > > Search the best Lora Parameters > stylesheet: > > h1 { > color: #0055ff; > } > params: > steps: 30 > Sampler: euler > seed: 1 > OutWidth: 256 > OutHeight: 256 > format: jpg > skip_invalid: false > show descriptions: true > autoscale: false > sticky: false > x axis: prompt > y axis: cfg > x super axis: 'None' > y super axis: 'None' > > axes: > prompt: > title: Prompt > values: > rianne_101: > title: rianne101 > params: > prompt: " > a photo of r1anne woman" > > promptreplaceexample: > title: Prompt Replacements > values: > epochs: PromptReplace= 000002 = 000014 > > > prompt_replace_2: > title: Strength > values: > 1: PromptReplace=:1 > 0.08: PromptReplace=:0.08 > 0.06: PromptReplace=:0.06 > > cfg: > title: CFG Scale > values: > 5: CFG scale=5 > 7.5: CFG scale=7.5 > 9: CFG scale=9 > > On Mon, Jun 10, 2024 at 4:58 PM raf | raf.studio ***@***.***> wrote: > >> yes but i have not updated. it runs fine. your small example.yml runs fine >> >> ``` >> raise RuntimeError(f"Cannot find axis '{id}' for axis default >> '{axis}'... valid: {[x.raw_id for x in grid.axes]}") >> RuntimeError: Cannot find axis 'cfg' for axis default 'y axis'... valid: >> ['prompt', 'promptreplaceexample', 'cfgscale'] >> Cannot find axis 'cfg' for axis default 'y axis'... valid: ['prompt', >> 'promptreplaceexample', 'cfgscale'] >> *** Error completing request >> *** Arguments: ('task(vlxolzltgtxkqkm)', > 0x000002292A0168F0>, '', '', [], 20, 'DPM++ 2M Karras', 1, 1, 7, 1280, >> 1024, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same >> sampler', '', '', [], 4, False, '', 0.8, -1, False, -1, 0, 0, 0, True, >> False, 1, False, False, False, 1.1, 1.5, 100, 0.7, False, False, True, >> False, False, 0, 'Gustavosta/MagicPrompt-Stable-Diffusion', '', >> ControlNetUnit(input_mode=, >> use_preview_as_input=False, batch_image_dir='', batch_mask_dir='', >> batch_input_gallery=[], batch_mask_gallery=[], generated_image=None, >> mask_image=None, hr_option='Both', enabled=False, module='None', >> model='None', weight=1, image=None, resize_mode='Crop and Resize', >> processor_res=-1, threshold_a=-1, threshold_b=-1, guidance_start=0, >> guidance_end=1, pixel_perfect=False, control_mode='Balanced', >> save_detected_map=True), ControlNetUnit(input_mode=> 'simple'>, use_preview_as_input=False, batch_image_dir='', >> batch_mask_dir='', batch_input_gallery=[], batch_mask_gallery=[], >> generated_image=None, mask_image=None, hr_option='Both', enabled=False, >> module='None', model='None', weight=1, image=None, resize_mode='Crop and >> Resize', processor_res=-1, threshold_a=-1, threshold_b=-1, >> guidance_start=0, guidance_end=1, pixel_perfect=False, >> control_mode='Balanced', save_detected_map=True), >> ControlNetUnit(input_mode=, >> use_preview_as_input=False, batch_image_dir='', batch_mask_dir='', >> batch_input_gallery=[], batch_mask_gallery=[], generated_image=None, >> mask_image=None, hr_option='Both', enabled=False, module='None', >> model='None', weight=1, image=None, resize_mode='Crop and Resize', >> processor_res=-1, threshold_a=-1, threshold_b=-1, guidance_start=0, >> guidance_end=1, pixel_perfect=False, control_mode='Balanced', >> save_detected_map=True), False, 7, 1, 'Constant', 0, 'Constant', 0, 1, >> 'enable', 'MEAN', 'AD', 1, False, 1.01, 1.02, 0.99, 0.95, False, 0.5, 2, >> False, 256, 2, 0, False, False, 3, 2, 0, 0.35, True, 'bicubic', 'bicubic', >> False, 0, 'anisotropic', 0, 'reinhard', 100, 0, 'subtract', 0, 0, >> 'gaussian', 'add', 0, 100, 127, 0, 'hard_clamp', 5, 0, 'None', 'None', >> False, 'MultiDiffusion', 768, 768, 64, 4, False, False, False, False, >> False, 'positive', 'comma', 0, False, False, 'start', '', 1, '', [], 0, '', >> [], 0, '', [], True, False, False, False, False, False, False, 0, False, >> False, True, False, True, True, 'lora-xyplot-r1anne.yml', False, '123111', >> False, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', >> '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Positive', 0, >> ', ', 'Generate and always save', 32) {} >> Traceback (most recent call last): >> File "E:\stable-diffusion-webui-forge\modules\call_queue.py", line >> 57, in f >> res = list(func(*args, **kwargs)) >> TypeError: 'NoneType' object is not iterable >> ``` >> >> On Mon, Jun 10, 2024 at 4:54 PM mcmonkey4eva ***@***.***> >> wrote: >> >>> ... where's the rest of it? >>> >>> ps Forge project was shut down and lllyasviel said everyone should >>> switch back to upstream auto webui >>> >>> — >>> Reply to this email directly, view it on GitHub >>> , >>> or unsubscribe >>> >>> . >>> You are receiving this because you authored the thread.Message ID: >>> >> @github.com> >>> >> >> >> -- >> thanks >> >> best regards, raf >> > > > -- > thanks > > best regards, raf > -- thanks best regards, raf
rafstahelin commented 4 months ago

i also tried to add titles to the PromptReplace but cannot get the formatting to work [image: image.png]

error message:

 During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "E:\auto1111\modules\call_queue.py", line 57, in f
        res = list(func(*args, **kwargs))
      File "E:\auto1111\modules\call_queue.py", line 36, in f
        res = func(*args, **kwargs)
      File "E:\auto1111\modules\txt2img.py", line 106, in txt2img
        processed = modules.scripts.scripts_txt2img.run(p, *p.script_args)
      File "E:\auto1111\modules\scripts.py", line 773, in run
        processed = script.run(p, *script_args)
      File
"E:\auto1111\extensions\sd-infinity-grid-generator-script\scripts\infinity_grid.py",
line 475, in run
        result = core.run_grid_gen(p, grid_file, p.outpath_grids,
output_file_path, do_overwrite, fast_skip, generate_page,
publish_gen_metadata, dry_run, manual_axes, skip_invalid=skip_invalid)
      File
"E:\auto1111\extensions\sd-infinity-grid-generator-script\gridgencore.py",
line 710, in run_grid_gen
        grid.parse_yaml(yaml_content, input_file)
      File
"E:\auto1111\extensions\sd-infinity-grid-generator-script\gridgencore.py",
line 410, in parse_yaml
        raise RuntimeError(f"Invalid axis '{id}': errored: {e}")
    RuntimeError: Invalid axis 'promptreplace': errored: value 'epochs'
errored: Value 'PromptReplace 1= 000010, 000012' is supposed to be
submapping but isn't (it's plaintext, a list, or some other incorrect
format). Did you typo the formatting?

On Mon, Jun 10, 2024 at 6:22 PM raf | raf.studio @.***> wrote:

Ok, i got it working all, except for Styles, which I have placed at the end. But i dont see it being added to the prompt

grid: title: Lora XY Plot author: by raf stahelin description: > Search the best Lora Parameters stylesheet: > h1 { color: #0055ff; } params: steps: 30 Sampler: euler seed: 1 OutWidth: 1024 OutHeight: 1280 format: png skip_invalid: false show descriptions: true autoscale: false sticky: false x axis: prompt y axis: cfg x super axis: 'None' y super axis: 'None'

axes: prompt: title: Prompt values: rianne_101: title: a photo of r1anne woman params: prompt: " a photo of r1anne woman" rianne_103: title: a photo of r1anne woman params: prompt: " a photo of r1anne woman"

promptreplaceexample:
    title: Prompt Replacements
    values:
        epochs: PromptReplace 1: 000010, 000012
        strenght: PromptReplace 2: :1, :0.8
cfg:
    title: CFG Scale
    values:
        5: CFG scale=5
        7.5: CFG scale=7

Styles: desert, studio

[image: image.png]

On Mon, Jun 10, 2024 at 5:20 PM raf | raf.studio @.***> wrote:

ok. looks like my problem is prompt replacement. If i remove the highlighted part, it runs fine:

[image: image.png] here's the yml:

This is a YAML file, so all content must be configured per YAML

specification.

grid title: Lora XY Plot author: by raf stahelin description: > Search the best Lora Parameters stylesheet: > h1 { color: #0055ff; } params: steps: 30 Sampler: euler seed: 1 OutWidth: 256 OutHeight: 256 format: jpg skip_invalid: false show descriptions: true autoscale: false sticky: false x axis: prompt y axis: cfg x super axis: 'None' y super axis: 'None'

axes: prompt: title: Prompt values: rianne_101: title: rianne101 params: prompt: " a photo of r1anne woman"

promptreplaceexample:
    title: Prompt Replacements
    values:
        epochs: PromptReplace= 000002 = 000014

prompt_replace_2:
    title: Strength
    values:
        1: PromptReplace=:1
        0.08: PromptReplace=:0.08
        0.06: PromptReplace=:0.06

cfg:
    title: CFG Scale
    values:
        5: CFG scale=5
        7.5: CFG scale=7.5
        9: CFG scale=9

On Mon, Jun 10, 2024 at 4:58 PM raf | raf.studio @.***> wrote:

yes but i have not updated. it runs fine. your small example.yml runs fine

    raise RuntimeError(f"Cannot find axis '{id}' for axis default
'{axis}'... valid: {[x.raw_id for x in grid.axes]}")
RuntimeError: Cannot find axis 'cfg' for axis default 'y axis'... valid:
['prompt', 'promptreplaceexample', 'cfgscale']
Cannot find axis 'cfg' for axis default 'y axis'... valid: ['prompt',
'promptreplaceexample', 'cfgscale']
*** Error completing request
*** Arguments: ('task(vlxolzltgtxkqkm)', <gradio.routes.Request object
at 0x000002292A0168F0>, '', '', [], 20, 'DPM++ 2M Karras', 1, 1, 7, 1280,
1024, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same
sampler', '', '', [], 4, False, '', 0.8, -1, False, -1, 0, 0, 0, True,
False, 1, False, False, False, 1.1, 1.5, 100, 0.7, False, False, True,
False, False, 0, 'Gustavosta/MagicPrompt-Stable-Diffusion', '',
ControlNetUnit(input_mode=<InputMode.SIMPLE: 'simple'>,
use_preview_as_input=False, batch_image_dir='', batch_mask_dir='',
batch_input_gallery=[], batch_mask_gallery=[], generated_image=None,
mask_image=None, hr_option='Both', enabled=False, module='None',
model='None', weight=1, image=None, resize_mode='Crop and Resize',
processor_res=-1, threshold_a=-1, threshold_b=-1, guidance_start=0,
guidance_end=1, pixel_perfect=False, control_mode='Balanced',
save_detected_map=True), ControlNetUnit(input_mode=<InputMode.SIMPLE:
'simple'>, use_preview_as_input=False, batch_image_dir='',
batch_mask_dir='', batch_input_gallery=[], batch_mask_gallery=[],
generated_image=None, mask_image=None, hr_option='Both', enabled=False,
module='None', model='None', weight=1, image=None, resize_mode='Crop and
Resize', processor_res=-1, threshold_a=-1, threshold_b=-1,
guidance_start=0, guidance_end=1, pixel_perfect=False,
control_mode='Balanced', save_detected_map=True),
ControlNetUnit(input_mode=<InputMode.SIMPLE: 'simple'>,
use_preview_as_input=False, batch_image_dir='', batch_mask_dir='',
batch_input_gallery=[], batch_mask_gallery=[], generated_image=None,
mask_image=None, hr_option='Both', enabled=False, module='None',
model='None', weight=1, image=None, resize_mode='Crop and Resize',
processor_res=-1, threshold_a=-1, threshold_b=-1, guidance_start=0,
guidance_end=1, pixel_perfect=False, control_mode='Balanced',
save_detected_map=True), False, 7, 1, 'Constant', 0, 'Constant', 0, 1,
'enable', 'MEAN', 'AD', 1, False, 1.01, 1.02, 0.99, 0.95, False, 0.5, 2,
False, 256, 2, 0, False, False, 3, 2, 0, 0.35, True, 'bicubic', 'bicubic',
False, 0, 'anisotropic', 0, 'reinhard', 100, 0, 'subtract', 0, 0,
'gaussian', 'add', 0, 100, 127, 0, 'hard_clamp', 5, 0, 'None', 'None',
False, 'MultiDiffusion', 768, 768, 64, 4, False, False, False, False,
False, 'positive', 'comma', 0, False, False, 'start', '', 1, '', [], 0, '',
[], 0, '', [], True, False, False, False, False, False, False, 0, False,
False, True, False, True, True, 'lora-xyplot-r1anne.yml', False, '123111',
False, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Positive', 0,
', ', 'Generate and always save', 32) {}
    Traceback (most recent call last):
      File "E:\stable-diffusion-webui-forge\modules\call_queue.py", line
57, in f
        res = list(func(*args, **kwargs))
    TypeError: 'NoneType' object is not iterable

On Mon, Jun 10, 2024 at 4:54 PM mcmonkey4eva @.***> wrote:

... where's the rest of it?

ps Forge project was shut down and lllyasviel said everyone should switch back to upstream auto webui

— Reply to this email directly, view it on GitHub https://github.com/mcmonkeyprojects/sd-infinity-grid-generator-script/issues/147#issuecomment-2158586293, or unsubscribe https://github.com/notifications/unsubscribe-auth/APNXTFVXZOW35NLZLII7IPLZGW435AVCNFSM6AAAAABI6VPQFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJYGU4DMMRZGM . You are receiving this because you authored the thread.Message ID: <mcmonkeyprojects/sd-infinity-grid-generator-script/issues/147/2158586293 @github.com>

-- thanks

best regards, raf

-- thanks

best regards, raf

-- thanks

best regards, raf

-- thanks

best regards, raf

rafstahelin commented 4 months ago

ok i have sorted out styles