light-and-ray/sd-webui-replacer

Batch issues

Closed this issue · 3 comments

Hi,

When I try to use the batch function with Replacer, I get the following error:

[Replacer] Exception: [Errno 2] No such file or directory: 'E:\User\stable-diffusion-webui\outputs\replacer\2024-03-10\00005-prompts.png.tmp'

This only happens if I use Batch Process or Batch from directory. With single images it works great.
I tried to put in a custom path, but the issue remains the same.

I do think this extension is really great in general.

Thanks. Can you send me the full console log. And did you restart webui after placing images in "Batch" loading section in ui? If you restart, you need to load them again

Hi, after some more fiddling, I managed to fix it (don't ask me how).

But now I have another issue. I don't think it's because of replacer, but maybe you know the answer.

Everytime I try to change a background behind a character, there's a character being generated behind the original character. As an effect there are bodyparts sticking out from behind the original character...

Is it the model I am using? Am I missing a setting?

Looks like you don't use inpainting model. Non-inpaiting models ignore context and can duplicate characters