s0md3v / sd-webui-roop

roop extension for StableDiffusion web-ui
GNU Affero General Public License v3.0
3.4k stars 881 forks source link

Has reactor changed the way it handles multiple faces #289

Open teppscan opened 11 months ago

teppscan commented 11 months ago

After the last update I've noticed a change in behavior. Before, reactor only changed the face/faces specified in the target field. Now it's changing every face in the target image no matter what I designate. Say I have a source image with one face (0), and a target with two faces, one left (0) and one right (1). I have always been able to choose which target face to replace. For instance would replace the target face on the right with the source face but leave the target face on the left alone. Now with this setting, it replaces the face on the right as specified, but it also changes the face on the left to some new, random face.

Say I have a target image with two faces - Jane left (0) and Joan right (1). I want to replace Joan's face with Betty's face. I load an image of only Betty's face in the source box, leave the source field as "0" and designate the target field as "1." When I perform the swap, reactor swaps Betty for Joan, but it also replaces Jane's face (0) with a random face. That's what was happening to me today, and that's not how things used to work for me. I tried configuring the fields several ways, but it always changed both faces, and created a random face for the one I didn't specify.

I'm obviously not a programmer or particulary knowledgeable. I apologize if this is some dumb mistake I am making, but I've been using reactor for quite a while, and I've never had it do anything like this before.