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

txt2mask with batch only applying to first image with "inpaint not masked" #228

Open
3 tasks done
Dadacticiel opened this issue Dec 15, 2023 · 0 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@Dadacticiel
Copy link

Dadacticiel commented Dec 15, 2023

Due diligence

  • I checked for similar issues and couldn't find any.
  • My WebUI and Unprompted are both up-to-date.
  • I disabled my other extensions but the problem persists.

Describe the bug

Hello,
I am using automatic1111 webui to generate multiple images.

I have the following txt2mask in my prompt :
[txt2mask method="clipseg" mode="add" sketch_alpha=0.0 show debug precision=100.0 padding=0.0 smoothing=0.0 negative_mask="hair" neg_precision=100.0 neg_padding=0.0 neg_smoothing=0.0 stamp_method="stretch" stamp_x=0.0 stamp_y=0.0]face[/txt2mask],red hair

It works fine with "inpaint masked" options.
But if i use "inpaint not masked" (inpainting_mask_invert options through api), then it only apply to the first image if i have a batch count > 1.
Exemple of result : (https://i.ibb.co/7yccd3n/grid-0034.jpg

Any idea on how to fix this ?

Prompt

[txt2mask method="clipseg" mode="add" sketch_alpha=0.0 show debug precision=100.0 padding=0.0 smoothing=0.0 negative_mask="hair" neg_precision=100.0 neg_padding=0.0 neg_smoothing=0.0 stamp_method="stretch" stamp_x=0.0 stamp_y=0.0]face[/txt2mask],red hair

Log output

No response

Unprompted version

v10.6.0

WebUI version

v1.6.1

Other comments

No response

@Dadacticiel Dadacticiel added the bug Something isn't working label Dec 15, 2023
@Dadacticiel Dadacticiel changed the title txt2mask with batch only applying to first image through API txt2mask with batch only applying to first image with "inpaint not masked" Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant