some9000 / StylePile

A prompt generation helper script for AUTOMATIC1111/stable-diffusion-webui and compatible forks
GNU General Public License v3.0
575 stars 44 forks source link

Seed increment bug, generate duplicates #44

Closed NeiroNext closed 1 year ago

NeiroNext commented 1 year ago

A very interesting extension. But unfortunately I noticed a bug, the script somehow breaks the generation of several images. If you set the start seed, then for some reason the increment is not performed, which is why the same image is generated. image

some9000 commented 1 year ago

This is actually on purpose - seed will increase if you change Batch size. The checkbox says that: Increase seed with batch size Reason: So you can do batches of changing prompts that keep the same seed increase. Basically, as an example you set Batch size to 4 and Batch count to 2. This means that you will get 1,2,3,4,1,2,3,4 with different prompts if you entered several as [X] and added that to the main prompt. I may have to document this better (or at all, at the moment...)