adieyal / sd-dynamic-prompts

A custom script for AUTOMATIC1111/stable-diffusion-webui to implement a tiny template language for random prompt generation
MIT License
2.02k stars 261 forks source link

`@` The expression does not work. #678

Open Neytiri7 opened 10 months ago

Neytiri7 commented 10 months ago

I put @ in the Cyclical Sampler, It does not work normally.

{@blue|blonde} hair, {@red|blue} {@t-shirt|sweater},

I entered it as above and created an image, but it is not created sequentially.

Even if you check the EXIF of the created image, it is displayed in the image as it is in brackets.

Normally, images are created normally The EXIF is also reflected as normal.

However, if you put in @, it doesn't work normally.

The image below is an image created with the entry {@blue|blonde} hair, in it.

blue_blonde-make1

User comment {@blue|blonde} hair, Negative prompt: Steps: 70, Sampler: DPM++ 3M SDE Karras, CFG scale: 29.5, Seed: 968364993, Size: 512x768, Model hash: 194c04ecee, Model: Cindy-A1, VAE hash: 06cce331c1, VAE: zVae_v20.safetensors, Clip skip: 2, RNG: NV, Dynamic thresholding enabled: True, Mimic scale: 7, Separate Feature Channels: True, Scaling Startpoint: MEAN, Variability Measure: AD, Interpolate Phi: 0.9, Threshold percentile: 97, Mimic mode: Half Cosine Up, Mimic scale minimum: 3, CFG mode: Power Up, CFG scale minimum: 7, Scheduler value: 11, Color Enhance: 0.07, Version: v1.6.0-2-g4afaaf8a

blue_blonde-make2

User comment {@blue|blonde} hair, Negative prompt: Steps: 70, Sampler: DPM++ 3M SDE Karras, CFG scale: 29.5, Seed: 968364994, Size: 512x768, Model hash: 194c04ecee, Model: Cindy-A1, VAE hash: 06cce331c1, VAE: zVae_v20.safetensors, Clip skip: 2, RNG: NV, Dynamic thresholding enabled: True, Mimic scale: 7, Separate Feature Channels: True, Scaling Startpoint: MEAN, Variability Measure: AD, Interpolate Phi: 0.9, Threshold percentile: 97, Mimic mode: Half Cosine Up, Mimic scale minimum: 3, CFG mode: Power Up, CFG scale minimum: 7, Scheduler value: 11, Color Enhance: 0.07, Version: v1.6.0-2-g4afaaf8a

akx commented 10 months ago

Are you sure the extension is correctly enabled? You should see this log message in your console if it's doing its thing: https://github.com/adieyal/sd-dynamic-prompts/blob/aedb3e4b91026351981f8412eb9e2e74167fdcff/sd_dynamic_prompts/dynamic_prompting.py#L511-L514

Neytiri7 commented 10 months ago

It does not work normally. When I see that it doesn't even show properly in the if, it doesn't seem to work properly when the '@' is written.

The issue is that other users are not working, so we tested it, and it is not working the same way, so we registered the issue here.