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]: img2img batch is producing only 1 image #13172

Closed
1 task done
van1027 opened this issue Sep 9, 2023 · 14 comments
Closed
1 task done

[Bug]: img2img batch is producing only 1 image #13172

van1027 opened this issue Sep 9, 2023 · 14 comments
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@van1027
Copy link

van1027 commented Sep 9, 2023

Is there an existing issue for this?

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

What happened?

When I go to img2img > Inpaint and specify:

Batch count: 9
Script: Ultimate SD upscale

it produces only 1 image

is it a normal behaviour?

Steps to reproduce the problem

  1. Go to ....
  2. Press ....
  3. ...

What should have happened?

It should generate multiple images

Sysinfo

What browsers do you use to access the UI ?

No response

Console logs

-

Additional information

No response

@van1027 van1027 added the bug-report Report of a bug, yet to be confirmed label Sep 9, 2023
@w-e-w
Copy link
Collaborator

w-e-w commented Sep 9, 2023

cause #12913 (comment)

fix pr (merged) #12926
borke (again) 3ca4655
now

fix pr (pending) #13170

@andynakal
Copy link

I tried branch re-fix-batch-img2img-output-dir-with-script
using img2img batch + controlnet and set the output directory, the process active but it doesn't generate any file

@w-e-w
Copy link
Collaborator

w-e-w commented Sep 12, 2023

I tested and it does work...

screenshors

batch img2img
image
control net enabled
image
output
image

@andynakal
Copy link

andynakal commented Sep 12, 2023

I see, it doesn't work on ControlNet v1.1.410

Screenshoot

proof2

but yeah it worked on the same version as yours, ControlNet v1.1.406

@w-e-w
Copy link
Collaborator

w-e-w commented Sep 12, 2023

I just tested with v1.1.410 and it still works ....

@w-e-w
Copy link
Collaborator

w-e-w commented Sep 12, 2023

v1.1.410

screenshors

image
image

@w-e-w
Copy link
Collaborator

w-e-w commented Sep 12, 2023

@andynakal can you upload your sysinfo
webui setting > sysinfo > Download system info

@andynakal
Copy link

here is my system info

Sysinfo

sysinfo-2023-09-12-18-24.txt

@w-e-w
Copy link
Collaborator

w-e-w commented Sep 12, 2023

@andynakal
there is currently a major issue in dev branch which unfortunately re-fix-batch-img2img-output-dir-with-script is also based on
that would cause your settings for lots of extensions to be reverted to default if you press apply settings

a fixed PR has already been made
but even so re-fix-batch-img2img-output-dir-with-script is a danger to try
it's possible that you have lots of your settings reverted to default which might causes unintended behaviors

if you would want to actually test re-fix-batch-img2img-output-dir-with-script you will want to be careful and not applying any settings or you have to cherry pick #13213 on to re-fix-batch-img2img-output-dir-with-script

and also double check that your settings are actually correct

@andynakal
Copy link

@w-e-w alright, thanks for the information, I will wait until the branch has been merged

@suede299
Copy link

v1.1.410

screenshors
image image

I updated all the fixes you listed under this issue from the dev branch, using the last settings, batch processing saves the images normally, but when I click on ControlNet's batch tab, outdir doesn't save the images again, or if I turn on ControlNet's backloop, the same thing happens!

@Enferlain
Copy link

I'm getting the same result with solo xyz in i2i, like 1-5% differences between each image at max, when I do them one by one it's way different. Is that related?

@w-e-w
Copy link
Collaborator

w-e-w commented Nov 26, 2023

I'm getting the same result with solo xyz in i2i, like 1-5% differences between each image at max, when I do them one by one it's way different. Is that related?

@Enferlain
should be related unrelated
img2img batch mode just iterate through images in a directory
and so it should be identical as if you do them one by one
I suggest opening a new issue on this topic with detailed information so that it can be investigated

@w-e-w w-e-w linked a pull request Nov 26, 2023 that will close this issue
4 tasks
@w-e-w w-e-w removed a link to a pull request Nov 26, 2023
4 tasks
@w-e-w
Copy link
Collaborator

w-e-w commented Nov 26, 2023

should be fiex by #13170

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

5 participants