AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
141.66k stars 26.77k forks source link

[Bug]: X/Y/Z broken #11906

Closed Confuzu closed 1 year ago

Confuzu commented 1 year ago

Is there an existing issue for this?

What happened?

The xyz_grid Legend for the X/Y/Z script gives only 1 picture for every different checkpoint or sampler no matter how high i put Batch count or Batch size.

I dont know what changed but before, it gave me a nice grid with every image for every checkpoint or sampler or any other option i can set. At some point i had 700MB or more grids thats totally ok i can open them

Steps to reproduce the problem

X/Y/Z script choose 2 or more checkpoints or sampler batch size 2 count 5 Screenshot from 2023-07-21 01-17-52 it gives only 1 image on the legend grid out for every check point or ...
since when ?

What should have happened?

it should give a legend grid with the names of the check point or ... and all the images SD created not only 1

Version or Commit where the problem happens

version: v1.4.1

What Python version are you running on ?

Python 3.10.x

What platforms do you use to access the UI ?

Linux

What device are you running WebUI on?

Nvidia GPUs (RTX 20 above)

Cross attention optimization

Automatic

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

COMMANDLINE_ARGS="--xformers  --disable-nan-check --update-check --ckpt-dir "/media/SSD/SDAUTO/stable-diffusion-webui/models/Stable-diffusion" --vae-dir "/media/SSD/SDAUTO/stable-diffusion-webui/models/VAE"  --lora-dir "/media/SSD/SDAUTO/stable-diffusion-webui/models/Lora" --embeddings-dir "/media/SSD/SDAUTO/stable-diffusion-webui/embeddings" "

List of extensions

Extension URL Branch Version Date Update

SD-Prompt-Enhancer https://github.com/corbin-hayden13/SD-Prompt-Enhancer.git main 48b8d647 Sun Jun 18 21:19:45 2023 unknown SD-latent-mirroring https://github.com/dfaker/SD-latent-mirroring.git main 05df9e83 Sat Mar 25 14:37:33 2023 unknown a1111-sd-webui-lycoris https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris.git main 8e97bf54 Sun Jul 9 07:44:58 2023 unknown a1111-sd-webui-tagcomplete https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git main 737b6973 Sat Jul 8 16:03:44 2023 unknown adetailer https://github.com/Bing-su/adetailer.git main b040a628 Thu Jul 20 02:01:32 2023 unknown booru2prompt https://github.com/Malisius/booru2prompt.git master 4bd88839 Wed Nov 23 14:41:10 2022 unknown canvas-zoom https://github.com/richrobber2/canvas-zoom.git main 45c805fd Thu Jul 20 21:19:45 2023 unknown clip-interrogator-ext https://github.com/pharmapsychotic/clip-interrogator-ext.git main c0bf9005 Tue Jun 27 19:06:31 2023 unknown deforum-for-automatic1111-webui https://github.com/deforum-art/deforum-for-automatic1111-webui.git automatic1111-webui 858c4dd6 Sun Jul 2 16:52:11 2023 unknown depthmap2mask https://github.com/Extraltodeus/depthmap2mask.git main 377e9224 Thu Apr 13 04:10:08 2023 unknown multidiffusion-upscaler-for-automatic1111 https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111 main de488810 Sun Jun 18 21:39:44 2023 unknown sd-dynamic-prompts https://github.com/adieyal/sd-dynamic-prompts.git main 26ce66bb Tue Jul 18 17:52:11 2023 unknown sd-extension-system-info https://github.com/vladmandic/sd-extension-system-info.git main 9d3c0ca0 Fri Jul 14 19:46:48 2023 unknown sd-face-editor https://github.com/ototadana/sd-face-editor.git main 61208301 Mon Jul 17 04:35:27 2023 unknown sd-webui-agent-scheduler https://github.com/ArtVentureX/sd-webui-agent-scheduler.git main e9056ee6 Sat Jul 15 20:39:17 2023 unknown sd-webui-ar https://github.com/alemelis/sd-webui-ar.git main 04ee2c6c Thu Jul 6 10:14:29 2023 unknown sd-webui-aspect-ratio-helper https://github.com/thomasasfk/sd-webui-aspect-ratio-helper.git main 99fcf9b0 Sun Jun 4 15:39:07 2023 unknown sd-webui-controlnet https://github.com/Mikubill/sd-webui-controlnet.git main 098f6cd8 Tue Jul 18 05:06:14 2023 unknown sd-webui-depth-lib https://github.com/jexom/sd-webui-depth-lib.git main efa9f616 Mon Apr 10 05:27:11 2023 unknown sd-webui-inpaint-anything https://github.com/Uminosachi/sd-webui-inpaint-anything.git main daebbadf Thu Jul 20 01:14:22 2023 unknown sd-webui-llul https://github.com/hnmr293/sd-webui-llul.git master aa47b3ee Thu May 4 16:14:34 2023 unknown sd-webui-lora-block-weight https://github.com/hako-mikan/sd-webui-lora-block-weight.git main 8ba434ef Tue Jul 18 16:29:20 2023 unknown sd-webui-regional-prompter https://github.com/hako-mikan/sd-webui-regional-prompter.git main 2bf0e8c1 Thu Jul 20 16:27:14 2023 unknown sd-webui-roop https://github.com/s0md3v/sd-webui-roop main e6333fbe Fri Jul 7 09:22:59 2023 unknown seed_travel https://github.com/yownas/seed_travel.git main 055213df Fri Jun 30 07:03:07 2023 unknown stable-diffusion-webui-composable-lora https://github.com/opparco/stable-diffusion-webui-composable-lora.git main d4963e48 Mon Feb 27 17:40:08 2023 unknown stable-diffusion-webui-depthmap-script https://github.com/thygate/stable-diffusion-webui-depthmap-script.git main d6e7a140 Thu Jul 20 18:35:08 2023 unknown stable-diffusion-webui-text2prompt https://github.com/toshiaki1729/stable-diffusion-webui-text2prompt.git main c4d8cec1 Fri Feb 24 08:29:55 2023 unknown stable-diffusion-webui-tokenizer https://github.com/AUTOMATIC1111/stable-diffusion-webui-tokenizer.git master ac6d541c Sat Dec 10 12:58:31 2022 unknown stable-diffusion-webui-two-shot https://github.com/ashen-sensored/stable-diffusion-webui-two-shot.git main 6b55dd52 Sun Apr 2 11:24:25 2023 unknown stable-diffusion-webui-wd14-tagger https://github.com/toriato/stable-diffusion-webui-wd14-tagger.git master 99bf7d81 Mon Jul 17 17:44:24 2023 unknown ultimate-upscale-for-automatic1111 https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git master c99f382b Tue Jun 13 04:29:35 2023 unknown LDSR built-in None Thu Jul 20 23:02:04 2023
Lora built-in None Thu Jul 20 23:02:04 2023
ScuNET built-in None Thu Jul 20 23:02:04 2023
SwinIR built-in None Thu Jul 20 23:02:04 2023
canvas-zoom-and-pan built-in None Thu Jul 20 23:02:04 2023
extra-options-section built-in None Thu Jul 20 23:02:04 2023
prompt-bracket-checker built-in None Thu Jul 20 23:02:04 2023

Console logs

/stable-diffusion-webui$ ./webui.sh

################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################

################################################################
Running on USER user
################################################################

################################################################
Repo already cloned, using it as install directory
################################################################

################################################################
Create and activate python venv
################################################################

################################################################
Launching launch.py...
################################################################
Cannot locate TCMalloc (improves CPU memory usage)
Python 3.10.12 (main, Jun  7 2023, 12:45:35) [GCC 9.4.0]
Version: v1.4.1
Commit hash: f865d3e11647dfd6c7b2cdf90dde24680e58acd8
Installing requirements

Installing imageio-ffmpeg requirement for depthmap script

Installing requirements for Seed Travel

Fetching updates for midas...
Checking out commit for midas with hash: 1645b7e...

Checking roop requirements
Install insightface==0.7.3
Installing sd-webui-roop requirement: insightface==0.7.3
Install onnx==1.14.0
Installing sd-webui-roop requirement: onnx==1.14.0
Install onnxruntime==1.15.0
Installing sd-webui-roop requirement: onnxruntime==1.15.0
Install opencv-python==4.7.0.72
Installing sd-webui-roop requirement: opencv-python==4.7.0.72

You are up to date with the most recent release.
Launching Web UI with arguments: --xformers --disable-nan-check --update-check --ckpt-dir /media/USER/SSD/SDAUTO/stable-diffusion-webui/models/Stable-diffusion --vae-dir /media/USER/SSD/SDAUTO/stable-diffusion-webui/models/VAE --lora-dir /media/USER/SSD/SDAUTO/stable-diffusion-webui/models/Lora --embeddings-dir /media/USER/SSD/SDAUTO/stable-diffusion-webui/embeddings
Issue with tags found in publicprompts.yaml at item public-prompts
[-] ADetailer initialized. version: 23.7.8, num models: 9
Loading booru2prompt settings
2023-07-21 01:37:56,028 - ControlNet - INFO - ControlNet v1.1.233
ControlNet preprocessor location: /home/USER/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads
2023-07-21 01:37:56,094 - ControlNet - INFO - ControlNet v1.1.233
2023-07-21 01:37:57,589 - roop - INFO - roop v0.0.2
2023-07-21 01:37:57,590 - roop - INFO - roop v0.0.2
[text2prompt] Following databases are available:
    all-mpnet-base-v2 : danbooru_strict
Loading weights [6fae47d4e2] from /media/USER/SSD/SDAUTO/stable-diffusion-webui/models/Stable-diffusion/lazymixRealAmateur_v30a.safetensors
Creating model from config: /home/USER/stable-diffusion-webui/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
*Deforum ControlNet support: enabled*
Loading general settings...
reading custom settings from deforum_settings.txt
The custom settings file does not exist. The values will be unchanged.
DiffusionWrapper has 859.52 M params.
Loading VAE weights specified in settings: /media/USER/SSD/SDAUTO/stable-diffusion-webui/models/VAE/color101VAE_v1.pt
[text2prompt] Loading database with name "all-mpnet-base-v2 : danbooru_strict"...
Applying attention optimization: xformers... done.
[text2prompt] Database loaded
No Image data blocks found.
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
[AgentScheduler] Task queue is empty
[AgentScheduler] Registering APIs
Startup time: 15.6s (import torch: 0.8s, import gradio: 0.7s, import ldm: 0.7s, other imports: 0.8s, list SD models: 0.2s, load scripts: 7.7s, scripts before_ui_callback: 0.3s, create ui: 3.9s, gradio launch: 0.2s, app_started_callback: 0.2s).
preload_extensions_git_metadata for 39 extensions took 0.68s
Textual inversion embeddings loaded(264):
Model loaded in 4.9s (load weights from disk: 0.4s, create model: 1.2s, apply weights to model: 0.5s, apply half(): 0.4s, load VAE: 0.2s, move model to device: 0.5s, load textual inversion embeddings: 1.7s).

Additional information

No response

w-e-w commented 1 year ago

works fine for me image

Confuzu commented 1 year ago

it stills an issue, updated SD and extension . It took always only the first image for the legend there should be 16 images on the Legend Untitled1 Untitled

Confuzu commented 1 year ago

I found the culprit the extension SD Face editor https://github.com/ototadana/sd-face-editor cripples the X/Y/Z script when i disable Face editor XYZ works like it should.