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

img2img not saving batch images into output directory #187

Open
Xxredz opened this issue Mar 23, 2024 · 3 comments
Open

img2img not saving batch images into output directory #187

Xxredz opened this issue Mar 23, 2024 · 3 comments

Comments

@Xxredz
Copy link

Xxredz commented Mar 23, 2024

My batch of generated images is not saving in my output folder or in any folder.

To reproduce:

Go to img2img
Click the Batch tab
Add an input directory that contains your source image and an output directory
Activate FaceSwapLab to swap the source face
Click generate

Error: Not saving images.

How can I fix this?

@GunnyNinja
Copy link

For me img2img not saving ANY image to output folder.

@Vanglator
Copy link

I'm having the same issue, but it isn't saving in either img2img or text2img. I've tried using the default output location and a temporary one and neither are working. I can go in and manually save a single photo one at a time, but this isn't preferable when working with a batch of images.

@LucianoDaluz
Copy link

Same here, does anybody know how to fix it?

2024-06-03 11:53:01,725 - FaceSwapLab - ERROR - Failed to swap face in postprocess method : apply_overlay() takes 3 positional arguments but 4 were given
Traceback (most recent call last):
File "C:\Users\lucia\Videos\SD\stable-diffusion-webui\extensions\sd-webui-faceswaplab\scripts\faceswaplab.py", line 201, in postprocess
swp_img = imgutils.apply_mask(swp_img, p, batch_index)
File "C:\Users\lucia\Videos\SD\stable-diffusion-webui\extensions\sd-webui-faceswaplab\scripts\faceswaplab_utils\imgutils.py", line 224, in apply_mask
img = processing.apply_overlay(img, p.paste_to, batch_index, p.overlay_images)
TypeError: apply_overlay() takes 3 positional arguments but 4 were given

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

4 participants