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

ERROR Age #519

Open
3 tasks done
kalle07 opened this issue Aug 28, 2024 · 0 comments
Open
3 tasks done

ERROR Age #519

kalle07 opened this issue Aug 28, 2024 · 0 comments
Labels
bug Something isn't working new

Comments

@kalle07
Copy link

kalle07 commented Aug 28, 2024

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?

reactor, updated yesterday
Model SDXL,
(it worked all 3 months ago, before the big update gradio from webui)

Steps to reproduce the problem

i only take one image to swap face

Sysinfo

WIn10,
webforgeUI (updated yesterday)

Relevant console log

[Unload] Current free memory is 8095.23 MB ...
12:21:47 - ReActor - STATUS - Working: source face index [0], target face index [0]
12:21:47 - ReActor - STATUS - Using Hashed Source Face(s) Model...
12:21:47 - ReActor - STATUS - Analyzing Target Image...
12:21:48 - ReActor - STATUS - Detecting Source Face, Index = 0
12:21:48 - ReActor - ERROR - Age Detection: No face with index = 0 was found
12:21:48 - ReActor - ERROR - Gender Detection: No face with index = 0 was found
12:21:48 - ReActor - STATUS - Trying to halve 'det_size' parameter
12:21:49 - ReActor - STATUS - Detected: -27- y.o. Female
12:21:49 - ReActor - STATUS - Detecting Target Face, Index = 0
12:21:49 - ReActor - STATUS - Detected: -43- y.o. Female
12:21:49 - ReActor - STATUS - Swapping Source into Target
*** Error running postprocess_image: E:\WebUI_Forge\webui\extensions\sd-webui-reactor\scripts\reactor_faceswap.py
    Traceback (most recent call last):
      File "E:\WebUI_Forge\webui\modules\scripts.py", line 940, in postprocess_image
        script.postprocess_image(p, pp, *script_args)
      File "E:\WebUI_Forge\webui\extensions\sd-webui-reactor\scripts\reactor_faceswap.py", line 465, in postprocess_image
        result, output, swapped = swap_face(
      File "E:\WebUI_Forge\webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 616, in swap_face
        result_image, output, swapped = operate(source_img,target_img,target_img_orig,model,source_faces_index,faces_index,source_faces,target_faces,gender_source,gender_target,source_face,wrong_gender,source_age,source_gender,output,swapped,mask_face,entire_mask_image,enhancement_options,detection_options)
      File "E:\WebUI_Forge\webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 770, in operate
        swapped_image = face_swapper.get(result, target_face, source_face)
    TypeError: ArcFaceONNX.get() takes 3 positional arguments but 4 were given

WITH another image

[Unload] Current free memory is 8087.26 MB ...
12:28:17 - ReActor - STATUS - Working: source face index [0], target face index [0]
12:28:17 - ReActor - STATUS - Analyzing Source Image...
12:28:17 - ReActor - STATUS - Analyzing Target Image...
12:28:18 - ReActor - STATUS - Detecting Source Face, Index = 0
12:28:18 - ReActor - STATUS - Detected: -32- y.o. Female
12:28:18 - ReActor - STATUS - Detecting Target Face, Index = 0
12:28:18 - ReActor - STATUS - Detected: -43- y.o. Female
12:28:18 - ReActor - STATUS - Swapping Source into Target
*** Error running postprocess_image: E:\WebUI_Forge\webui\extensions\sd-webui-reactor\scripts\reactor_faceswap.py
Traceback (most recent call last):
File "E:\WebUI_Forge\webui\modules\scripts.py", line 940, in postprocess_image
script.postprocess_image(p, pp, *script_args)
File "E:\WebUI_Forge\webui\extensions\sd-webui-reactor\scripts\reactor_faceswap.py", line 465, in postprocess_image
result, output, swapped = swap_face(
File "E:\WebUI_Forge\webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 616, in swap_face
result_image, output, swapped = operate(source_img,target_img,target_img_orig,model,source_faces_index,faces_index,source_faces,target_faces,gender_source,gender_target,source_face,wrong_gender,source_age,source_gender,output,swapped,mask_face,entire_mask_image,enhancement_options,detection_options)
File "E:\WebUI_Forge\webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 770, in operate
swapped_image = face_swapper.get(result, target_face, source_face)
TypeError: ArcFaceONNX.get() takes 3 positional arguments but 4 were given

Additional information

No response

@kalle07 kalle07 added bug Something isn't working new labels Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new
Projects
None yet
Development

No branches or pull requests

1 participant