stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: xyz plot 'checkpoint name' has some... error?

Open rubyon opened this issue 2 years ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

I'm sorry I can't speak English well.

When I use 'xyz plot', it behaves strangely.

Steps to reproduce the problem

X type "checkpoint name"

I entered this.

AbyssHellHero, AbyssOrangeMix2_hard, AbyssOrangeMix2_nsfw, AbyssOrangeMix2_sfw, abyssorangemix3AOM3_aom3, abyssorangemix3AOM3_aom3a1, abyssorangemix3AOM3_aom3a2, abyssorangemix3AOM3_aom3a3 anything-v3-full, Basil_mix_fixed

But the output puts a weird picture in the middle of the middle.

xyz_grid-0024-1042676458

check it, please.

What should have happened?

I think the result should come out as entered.

Commit where the problem happens

0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8

What platforms do you use to access the UI ?

Linux

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

--listen --allow-code --xformers --enable-insecure-extension-access --opt-split-attention --opt-channelslast

List of extensions

sd-webui-tagcomplete batch-face-swap openpose-editor sd-extension-system-info sd-webui-ar sd-webui-controlnet stable-diffusion-webui-images-browser stable-diffusion-webui-text2prompt

Console logs

X/Y/Z plot will create 18 images on 1 18x1 grid. (Total steps to process: 540)
Loading weights [11467c8d3b] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/AbyssHellHero.safetensors
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 1.0s (load weights from disk: 0.1s, apply weights to model: 0.6s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.84it/s]
Loading weights [bb6e6362d8] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/chikmix_V1.safetensors02,  6.84it/s]
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 0.4s (apply weights to model: 0.1s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.89it/s]
Loading weights [0fc198c490] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/AbyssOrangeMix2_hard.safetensorst/s]
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 0.4s (apply weights to model: 0.1s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.87it/s]
Loading weights [8838e0d1fb] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/CounterfeitV25_20.ckpt53,  6.87it/s]
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 4.5s (load weights from disk: 3.9s, apply weights to model: 0.2s, load VAE: 0.2s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.55it/s]
Loading weights [0873291ac5] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/AbyssOrangeMix2_nsfw.safetensorst/s]
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 0.5s (apply weights to model: 0.1s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.93it/s]
Loading weights [bb6e6362d8] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/chikmix_V1.safetensors44,  6.91it/s]
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 1.0s (apply weights to model: 0.6s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.77it/s]
Loading weights [038ba203d8] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/AbyssOrangeMix2_sfw.safetensorsit/s]
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 1.2s (load weights from disk: 0.2s, apply weights to model: 0.7s, load VAE: 0.1s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.68it/s]
Loading weights [8838e0d1fb] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/CounterfeitV25_20.ckpt37,  6.64it/s]
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 4.2s (load weights from disk: 3.6s, apply weights to model: 0.2s, load VAE: 0.2s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.80it/s]
Loading weights [d124fc18f0] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/abyssorangemix3AOM3_aom3.safetensors
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 1.0s (apply weights to model: 0.7s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.81it/s]
Loading weights [bb6e6362d8] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/chikmix_V1.safetensors28,  6.74it/s]
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 0.4s (apply weights to model: 0.1s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.87it/s]
Loading weights [f303d10812] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/abyssorangemix3AOM3_aom3a1.safetensors
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 1.1s (load weights from disk: 0.1s, apply weights to model: 0.7s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.85it/s]
Loading weights [8838e0d1fb] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/CounterfeitV25_20.ckpt19,  6.74it/s]
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 4.1s (load weights from disk: 3.5s, apply weights to model: 0.2s, load VAE: 0.2s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.96it/s]
Loading weights [553398964f] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/abyssorangemix3AOM3_aom3a2.safetensors
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 1.1s (load weights from disk: 0.1s, apply weights to model: 0.7s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.95it/s]
Loading weights [bb6e6362d8] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/chikmix_V1.safetensors10,  6.99it/s]
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 1.1s (apply weights to model: 0.7s, load VAE: 0.2s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.70it/s]
Loading weights [eb4099ba9c] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/abyssorangemix3AOM3_aom3a3.safetensors
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 1.1s (apply weights to model: 0.7s, load VAE: 0.1s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.86it/s]
Loading weights [abcaf14e5a] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/anything-v3-full.safetensors.82it/s]
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 1.8s (load weights from disk: 0.2s, apply weights to model: 1.3s, load VAE: 0.2s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.74it/s]
Loading weights [8838e0d1fb] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/CounterfeitV25_20.ckpt
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 4.0s (load weights from disk: 3.4s, apply weights to model: 0.2s, load VAE: 0.2s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.96it/s]
Loading weights [0ff127093f] from /home/rubyon/stable-diffusion-webui/models/Stable-diffusion/Basil_mix_fixed.safetensors
Loading VAE weights specified in settings: /home/rubyon/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Weights loaded in 1.1s (apply weights to model: 0.7s, move model to device: 0.2s).
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.95it/s]
Total progress: 620it [02:53,  3.57it/s]

Additional information

No response

rubyon avatar Feb 20 '23 14:02 rubyon

It is a issue, I will prob try fixing it soon. For now just don't use newlines. I.e do AbyssHellHero, AbyssOrangeMix2_hard, AbyssOrangeMix2_nsfw, AbyssOrangeMix2_sfw, abyssorangemix3AOM3_aom3, abyssorangemix3AOM3_aom3a1, abyssorangemix3AOM3_aom3a2, abyssorangemix3AOM3_aom3a3, anything-v3-full, Basil_mix_fixed.

Also the text you posted is missing a comma after abyssorangemix3AOM3_aom3a3. This bug actually prevented another issue from occurring there, so just normally don't forget your commas.

EllangoK avatar Feb 20 '23 15:02 EllangoK

I noticed that when I "Paste Available Values Into The Field" on checkpoints, some checkpoints have a space appended to the beginning so that they aren't sorted in alphabetical order.

waynoedm avatar Feb 26 '23 23:02 waynoedm

I also noticed that when I removed the spaces and re-sorted them alphabetically myself and pasted that back into the list, when running the script every second generated image was of a specific model, alternating between the batch list, and that specific model. Which was a dozen models away alphabetically speaking so should not have been called. Restarting SD did not resolve. I did not force a browser refresh of the GUI however as the issue would go away when I used the GUI generated list. I re-created it when I re-pasted the values back in.

I also noted that

waynoedm avatar Feb 27 '23 00:02 waynoedm

It is a issue, I will prob try fixing it soon. For now just don't use newlines. I.e do AbyssHellHero, AbyssOrangeMix2_hard, AbyssOrangeMix2_nsfw, AbyssOrangeMix2_sfw, abyssorangemix3AOM3_aom3, abyssorangemix3AOM3_aom3a1, abyssorangemix3AOM3_aom3a2, abyssorangemix3AOM3_aom3a3, anything-v3-full, Basil_mix_fixed.

Also the text you posted is missing a comma after abyssorangemix3AOM3_aom3a3. This bug actually prevented another issue from occurring there, so just normally don't forget your commas.

Damn, this was haunting me... I was getting extra columns with no specific data on them. Thanks for the update. Due to a new line in the value parameter, web-ui was generating a lot more images than it should, I was calculating with each unique combination, but it was never adding up.

After removing the spaces and new lines, the calculation of the grids and the total number of images are alright. I'll check the output once it is done :) says 5 hours :)

Update: after applying the above changes it works as expected... :)

DearDhruv avatar Mar 01 '23 15:03 DearDhruv