glucauze / sd-webui-faceswaplab

Extended faceswap extension for StableDiffusion web-ui with multiple faceswaps, inpainting, checkpoints, ....
https://glucauze.github.io/sd-webui-faceswaplab/
GNU Affero General Public License v3.0
715 stars 92 forks source link

Similairty checker no longer seems to run in IMG2IMG #100

Open lonestard opened 10 months ago

lonestard commented 10 months ago

Please remember that the bug report section is not a forum. Before submitting a bug, ensure you have read the FAQ thoroughly. This helps us maintain an efficient bug-tracking process. Thank you for your understanding and cooperation. Use the discussion section for anything else.

Describe the bug Check and Compute Similarity don't seem to run in the IMg2imgs tab

To Reproduce enable check similarity, check both compute and check similarity.

  1. Adjust slider to to some min of percentages to match image

Expected behavior In terminal window you should see something like 2023-09-10 07:42:29,924 - FaceSwapLab - INFO - compare face 0 2023-09-10 07:42:29,924 - FaceSwapLab - INFO - similarity {0: 0.7829361} 2023-09-10 07:42:29,924 - FaceSwapLab - INFO - ref similarity {0: 0.7829361} 2023-09-10 07:42:29,924 - FaceSwapLab - INFO - Finished processing image, return 1 images

However while you will get this in txt2img it does not seem to run compare in img2img

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

glucauze commented 10 months ago

It is working on my side in img2img

Screenshot 2023-09-10 at 16-04-58 Stable Diffusion

You will have to update the preview image by changing and clicking again on the picture.

lonestard commented 10 months ago

In mine, when I watch it the processing in the terminal window, the Similarity check does not even run- It does in text2img, but to img2img. Same boxes checked.