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

Gender detection fails on images with multiple gendered faces. #530

Open
3 tasks done
TheCrake opened this issue Sep 18, 2024 · 1 comment
Open
3 tasks done

Gender detection fails on images with multiple gendered faces. #530

TheCrake opened this issue Sep 18, 2024 · 1 comment
Labels
✔ accepted bug Something isn't working

Comments

@TheCrake
Copy link

First, confirm

  • I have read the instruction carefully
  • I have searched the existing issues
  • I have updated the extension to the latest version

What happened?

If you choose a gender under gender detection on an image with multiple genders, no face swap occurs.

Steps to reproduce the problem

If you have an image with one male face and one female face, setting it to only target female faces results in it ignoring the image if it detects any male faces, and vice versa. One would expect it to ignore only the faces that fail, and still work on the faces that are the correct gender.

Sysinfo

forge, current version of reactor

Relevant console log

[Unload] Current free memory is 4829.20 MB ...
10:14:53 - ReActor - STATUS - Working: source face index [0, 1], target face index [0, 1]
10:14:53 - ReActor - STATUS - Using Loaded Source Face Model: face.safetensors
10:14:53 - ReActor - STATUS - Analyzing Target Image...
10:14:54 - ReActor - STATUS - Detecting Source Face, Index = 0
10:14:54 - ReActor - STATUS - Detected: -50- y.o. Female
10:14:54 - ReActor - STATUS - Detecting Target Face, Index = 0
10:14:54 - ReActor - STATUS - Target Face 0: Detected Gender -M-
10:14:54 - ReActor - STATUS - WRONG - Detected Gender doesn't match Condition
10:14:54 - ReActor - STATUS - Detected: -27- y.o. Male
Total progress: 100%|██████████████████████████████████████████████████████████████████| 30/30 [00:13<00:00,  2.24it/s]

Additional information

No response

@TheCrake TheCrake added bug Something isn't working new labels Sep 18, 2024
@mykeehu
Copy link

mykeehu commented Sep 19, 2024

I have the same problem. If no limit is set, only gender, it applies to all (or specified by ID) women in the picture and ignores men.

@Gourieff Gourieff added ✔ accepted and removed new labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✔ accepted bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants