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

"Unlink seed" + "Fixed seed" not working

Open tpsjr7 opened this issue 2 years ago • 12 comments

I pulled main on 525ee62a9a1c

To reproduce:

Check "unlink seed" and "fixed seed" Make an image with a fixed seed.

prompt: a __adj__ cat

seed: 102

Set "Batch Count" to 4.

I should see 4 new images all with seed 102 as it used to, but with different adjectives like:

  • seed 102: a bad cat
  • seed 102: a nice cat
  • seed 102: a big cat
  • seed 102: a small cat

Currently it generates 4 new prompts but different seeds

  • seed 102: a bad cat
  • seed 103: a nice cat
  • seed 104: a big cat
  • seed 105: a small cat

tpsjr7 avatar Jun 21 '23 23:06 tpsjr7

Still having this issue in the latest version (39c06b3). "Fixed seed" seems to break whenever "Unlink seed from prompt" is enabled, and "Combinatorial generations" is disabled. It does work in conjunction with combinatorial generation, but that's not always what you want. Just "Fixed seed", but without "Unlink seed from prompt" also seems to work and not increment the seed, but then of course you always get the same image, which sadly renders this option useless for anything but combinatorial batches at the moment :(

maybe this additional information helps

Voltschrat avatar Oct 18 '23 08:10 Voltschrat

I can confirm I'm running into the same problem. If I turn on unlink seed from prompt the seed still increments by +1 each iteration. I've never got it to work even with "combinatorial generations" turned on.

evanerichards avatar Oct 28 '23 16:10 evanerichards

Any chance this issue will be fixed?

a-l-e-x-d-s-9 avatar Nov 21 '23 18:11 a-l-e-x-d-s-9

Any chance this issue will be fixed?

I don't remember how I had dynamic prompts set up before, but it seems like this issue may be resolved now?

evanerichards avatar Nov 27 '23 18:11 evanerichards

@evanerichards The problem is still in the main branch. You may be using an older version or tag.

a-l-e-x-d-s-9 avatar Nov 27 '23 20:11 a-l-e-x-d-s-9

I seem to recall being able to do this at some point but maybe i didnt notice because every version i have tested has this problem including the most recent update. this issue was created in june, so i guess for some reason this is being ignored? are there any forks that fixed this yet?

OTP275 avatar Dec 06 '23 16:12 OTP275

I seem to recall being able to do this at some point but maybe i didnt notice because every version i have tested has this problem including the most recent update. this issue was created in june, so i guess for some reason this is being ignored? are there any forks that fixed this yet?

It's working for me. I don't know what to tell anyone else, but it wasn't working originally so I posted here (months ago) asking for a fix, and it started working with the latest version when I upgraded mid-November.

evanerichards avatar Dec 06 '23 16:12 evanerichards

I seem to recall being able to do this at some point but maybe i didnt notice because every version i have tested has this problem including the most recent update. this issue was created in june, so i guess for some reason this is being ignored? are there any forks that fixed this yet?

It's working for me. I don't know what to tell anyone else, but it wasn't working originally so I posted here (months ago) asking for a fix, and it started working with the latest version when I upgraded mid-November.

what version did it start working on?

OTP275 avatar Dec 06 '23 21:12 OTP275

I just tested with the latest version and its still broken

  • Combinatorial generation OFF
  • Unlink seed ON
  • Fixed seed ON

This results in a unique seed and unique prompt for each image in the batch

Version 2817d2ed

Kexus avatar Dec 08 '23 02:12 Kexus

I can confirm version 2817d2ed still doesnt work. tested on a fresh install and on a second device

OTP275 avatar Dec 08 '23 19:12 OTP275

I had to reinstall AUTOMATIC1111, if you value this fix above other newer features, I was able to work around this by manually checking out the checkout bug/fixed-seeds branch from here https://github.com/adieyal/sd-dynamic-prompts/pull/552

cd stable-diffusion-webui/extensions/sd-dynamic-prompts
git fetch --all
git checkout bug/fixed-seeds

then restart.

Maybe deleting the extension then using "Install from URL" and specifying the bug/fixed-seeds branch might work too.

tpsjr7 avatar Dec 21 '23 22:12 tpsjr7

I had to reinstall AUTOMATIC1111, if you value this fix above other newer features, I was able to work around this by manually checking out the checkout bug/fixed-seeds branch from here #552

cd stable-diffusion-webui/extensions/sd-dynamic-prompts
git fetch --all
git checkout bug/fixed-seeds

then restart.

Maybe deleting the extension then using "Install from URL" and specifying the bug/fixed-seeds branch might work too.

I had the same problem, using forge. I simply did the commands in git as you suggested and restarted and now it works! :)

spaciousmind avatar Oct 08 '24 21:10 spaciousmind