sd-dynamic-prompts icon indicating copy to clipboard operation
sd-dynamic-prompts copied to clipboard

Behavior inconsistent when using X/Y/Z script

Open anothertal3 opened this issue 1 year ago • 0 comments

--> Opened an issue as I'm more and more convinced that this is not the intended behaviour. Either each choice should be reevaluated during one "row" or the should all keep consistent (my preferred use case).

edit: To make "row" more clear:

  • A "row" equals a "seed". Until recently the prompt would have been generated only once per seed an then reused.
  • Now, wildcards are randomized even within one seed-generation while inline placeholders kept the previous behaviour

I'm looking to restore the previous behaviour but I don't think that stuff like "Unlink from seed" would be useful due to the inconsistency.

Discussed in https://github.com/adieyal/sd-dynamic-prompts/discussions/666

Originally posted by anothertal3 November 9, 2023 Until very recently (today?) I was able to do something like the following:

portrait photo of {man|woman} standing at __places/all__ , __head/hairstyles__, {medium long shot|medium shot} <lora:add_detail:0.1>

The wildcard input originates in a yaml-file.

I could then setup a X/Y/Z script with the following parameters:

X = "Prompt S/R" = <lora:add_detail:0.1>,<lora:add_detail:0.5>,<lora:add_detail:0.9>
Y = "Seed" = -1,-1,-1

Upon execution I would receive a 3x3 grid. For each row the value would have been randomly chosen only ONCE at the beginning. This allowed me to compare the influence of different LoRA settings because the person, hair style, place and shot type would not change.

Now, the behaviour seems to have changed:

  • Inline variables appear to stay the same during one row (a 'man' would always stay a 'man')
  • Wildcards appear to change on each and every picture (the 'man' would now be placed at different locations even within one row)

For my purpose it's now pretty much useless.

Has some default behaviour changed? How can I reset this to the way it acted before?

anothertal3 avatar Nov 09 '23 22:11 anothertal3