SDAtom-WebUi-us icon indicating copy to clipboard operation
SDAtom-WebUi-us copied to clipboard

Clip skip and ENSD

Open Trevor-Z opened this issue 1 year ago • 4 comments

Since the model is a parameter copied to the queue, shouldn't clip skip and ENSD be, too?

Trevor-Z avatar Apr 08 '23 16:04 Trevor-Z

I think you are talking about the settings tab. Nothing under that tab i supported as it is not included in the same way when clicking generate so to get those to load as well would take more work because you would have to save/load them separately before generating an image (not sure if all of them can be dynamically loaded the way the script is built now). I think settings are not something you normally change for each image generated.

Kryptortio avatar Apr 08 '23 16:04 Kryptortio

I mentioned it because it's saved on every image generated, along with the model, and loaded with PNG Info. But I see your point.

Can I add those manually to the queued prompts? I tried googling for the name of the functions, but couldn't find it.

Trevor-Z avatar Apr 08 '23 18:04 Trevor-Z

Like I said they are not supported by the queue but if you mean if you can change them manually they are under the settings tab.

Stable diffusion > Clip skip (close to the bottom) (Early stopping parameter for CLIP model; 1 is stop at last layer as usual, 2 is stop at penultimate layer, etc.) Sampler parameters > eta (noise multiplier) for DDIM Sampler parameters > eta (noise multiplier) for ancestral samplers

Not sure what you mean by them being saved in PNG info though, this is an example of what I get if I use the PNG info tab:

parameters [prompt] Negative prompt: [prompt] Steps: 40, Sampler: DPM++ SDE Karras, CFG scale: 8, Seed: 402154236, Size: 512x512, Model hash: 1dd56f8b12, Denoising strength: 0.5, Hires upscale: 2, Hires upscaler: None

So maybe that is only listed if you have changed them at some point (default in order would be 1, 0, 1 I think).

Kryptortio avatar Apr 08 '23 19:04 Kryptortio

My use case is to test the same group of prompts on a series of models and settings. So I even added Clip skip and ENSD to the quicksettings list, because I'm changing them all the time:

Screenshot 2023-04-08 165341

Your extension works wonderfully to automate the task, but it lacks support for those two settings.

And I guess you're right, Clip skip and ENSD are only saved if the image changes the default values:

Screenshot 2023-04-08 165209

Trevor-Z avatar Apr 08 '23 20:04 Trevor-Z