Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Wrong Images Selected in text2img #191

Closed
1 task done
Neverdusk opened this issue Nov 2, 2023 · 1 comment
Closed
1 task done

[Bug]: Wrong Images Selected in text2img #191

Neverdusk opened this issue Nov 2, 2023 · 1 comment

Comments

@Neverdusk
Copy link

Is there an existing issue for this?

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

What happened?

When using text2img and generating multiple images at once (either from using an XYZ plot or having a batch size / count > 1), the image shown to be selected is not actually selected.

For example, if I have five images and select image 3, then press "Info", "Save" or "Send to Inpaint", image 4 is selected instead. The same goes for every other image, where the buttons respond to the next image (e.g.: 2 instead of 1, or 3 instead of 2) instead of the selected image.

Steps to reproduce the problem

  1. Go to text2img and generate with batch count > 1
  2. Press save on image 1
  3. Image 2 is saved

What should have happened?

The selected images should've been saved instead of the next image. Same for info, send to inpaint, and other buttons.

Sysinfo

sysinfo-2023-11-02-06-10.txt

What browsers do you use to access the UI ?

Google Chrome

Console logs

venv "C:\Users\silve\Documents\AI Art\__SDUX\venv\Scripts\Python.exe"
Python 3.10.8 (tags/v3.10.8:aaaf517, Oct 11 2022, 16:50:30) [MSC v.1933 64 bit (AMD64)]
Version: v1.6.0-299-g8ee48cf9
Commit hash: 8ee48cf9bf1532ea202cacb0930386ace4e60e3d
Launching Web UI with arguments: --api --medvram-sdxl --xformers --no-half-vae --autolaunch --opt-split-attention
Civitai Helper: Get Custom Model Folder
[-] ADetailer initialized. version: 23.11.0, num models: 14
Using sqlite file: C:\Users\silve\Documents\AI Art\__SDUX\extensions\sd-webui-agent-scheduler\task_scheduler.sqlite3
2023-11-02 03:23:21,465 - ControlNet - INFO - ControlNet v1.1.411
ControlNet preprocessor location: C:\Users\silve\Documents\AI Art\__SDUX\extensions\sd-webui-controlnet\annotator\downloads
2023-11-02 03:23:21,619 - ControlNet - INFO - ControlNet v1.1.411
Loading weights [4574b00913] from C:\Users\silve\Documents\AI Art\__SDUX\models\Stable-diffusion\__Anime\_Custom\Roxanne02.safetensors
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Creating model from config: C:\Users\silve\Documents\AI Art\__SDUX\configs\v1-inference.yaml
Startup time: 16.5s (prepare environment: 3.4s, import torch: 3.7s, import gradio: 1.3s, setup paths: 1.0s, initialize shared: 0.3s, other imports: 0.8s, setup codeformer: 0.2s, list SD models: 0.2s, load scripts: 2.9s, create ui: 1.4s, gradio launch: 0.8s, app_started_callback: 0.3s).
Loading VAE weights specified in settings: C:\Users\silve\Documents\AI Art\__SDUX\models\VAE\Blessed2.vae.safetensors
Applying attention optimization: xformers... done.
Model loaded in 12.3s (load weights from disk: 1.9s, create model: 0.6s, apply weights to model: 9.0s, load VAE: 0.4s, load textual inversion embeddings: 0.1s, calculate empty prompt: 0.1s).
purged
NegPiP enable, Positive:None,Negative:None
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:04<00:00,  4.51it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:04<00:00,  4.65it/s]
INFO:sd_dynamic_prompts.dynamic_prompting:Prompt matrix will create 2 images in a total of 2 batches.<00:00,  5.45it/s]
purged
NegPiP enable, Positive:None,Negative:None
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:03<00:00,  5.17it/s]
purgedprogress:  50%|█████████████████████████████████                                 | 20/40 [00:03<00:03,  5.29it/s]
NegPiP enable, Positive:None,Negative:None
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:03<00:00,  5.59it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 40/40 [00:08<00:00,  4.79it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 40/40 [00:08<00:00,  5.92it/s]

Additional information

No response

@anapnoe
Copy link
Owner

anapnoe commented Nov 2, 2023

haven't test it for XYZ plot only for batch size / count > 1) but it should work fine for both

@anapnoe anapnoe closed this as completed Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants