You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues and checked the recent builds/commits
What happened?
When using the X/Y/Z plot, and "Include Sub Images" is selected, the first two generated images (after the plot its self) share identical metadata, causing all further images to have metadata attached that belongs to the previous image. This affects both the representation in the UI, and the data saved in/alongside the image on the drive.
I have tested and observed this issue with X, X/Y, and X/Y/Z modes, multiple models, and the types of Seed, Steps, and Sampler, which is enough for me to confidently assume it affects all scenarios.
(The plot also generates images in Z/Y/X order, which makes previewing in the web UI a PITA, but I assume that was deliberate so I'll file a change request for that.)
Presently working to fix this myself, already found the issue causing Z/Y/X ordering so that'll be a separate PR.
If 'Include Sub Grids' is checked, it also features an off-by-one issue within the grids as a group, in addition to the error repeating once it gets to the individual images. I think I see approximately where the issue is...
Edit: Scratch that, the sub-grids don't repeat the error, they just exacerbate it. I assume this is because the inclusion of sub-grids injects to processed_result.images without affecting any of the other associated image data arrays. How this runs at all without going out-of-bounds is a mystery.
Think I got it; when it hits processed_result = copy(processed) to create the initial list of processed images, that processed object contains two sets of data. A few lines later, it nukes processed_result.images to a list with a single blank image (that gets replaced with the main grid later) and immediately after that it begins appending individual images. Because the respective info lists were not likewise nuked, all appended info is one element after its related entry in the image list.
I'll perform a couple more tests to verify it's fixed and then submit a PR.
Is there an existing issue for this?
What happened?
When using the X/Y/Z plot, and "Include Sub Images" is selected, the first two generated images (after the plot its self) share identical metadata, causing all further images to have metadata attached that belongs to the previous image. This affects both the representation in the UI, and the data saved in/alongside the image on the drive.
I have tested and observed this issue with X, X/Y, and X/Y/Z modes, multiple models, and the types of Seed, Steps, and Sampler, which is enough for me to confidently assume it affects all scenarios.
(The plot also generates images in Z/Y/X order, which makes previewing in the web UI a PITA, but I assume that was deliberate so I'll file a change request for that.)
Steps to reproduce the problem
What should have happened?
Not having the metadata lag behind one image lol
Commit where the problem happens
ea9bd9f
What platforms do you use to access the UI ?
Linux
What browsers do you use to access the UI ?
Mozilla Firefox, Google Chrome
Command Line Arguments
List of extensions
a1111-sd-webui-tagcomplete
embedding-inspector
stable-diffusion-webui-tokenizer
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: