Fast and Simple Face Swap Extension for StableDiffusion WebUI (A1111 SD WebUI, SD WebUI Forge, SD.Next, Cagliostro)
GNU Affero General Public License v3.0
2.56k
stars
279
forks
source link
simswap_512_beta.onnx not working in both a1111 and forge #531
Open
vixenius opened 2 months ago
First, confirm
What happened?
[Unload] Trying to free 8820.57 MB for cuda:0 with 0 models keep loaded ... Current free memory is 2984.18 MB ... Current free memory is 2984.18 MB ... Unload model KModel Done. [Memory Management] Target: IntegratedAutoencoderKL, Free GPU: 8352.69 MB, Model Require: 319.11 MB, Previously Loaded: 0.00 MB, Inference Require: 3071.00 MB, Remaining: 4962.58 MB, All loaded to GPU. Moving model(s) has taken 1.52 seconds 13:08:56 - ReActor - STATUS - Working: source face index [0], target face index [0] 13:08:56 - ReActor - STATUS - Using Loaded Source Face Model: Milaaa Upscaled 1.safetensors 13:08:56 - ReActor - STATUS - Analyzing Target Image... 13:08:57 - ReActor - STATUS - Detecting Source Face, Index = 0 13:08:57 - ReActor - STATUS - Detected: -23- y.o. Female 13:08:57 - ReActor - STATUS - Detecting Target Face, Index = 0 13:08:57 - ReActor - STATUS - Detected: -37- y.o. Female 13:08:57 - ReActor - STATUS - Swapping Source into Target ** Error running postprocess_image: D:\AINOVO\WebForge\webui\extensions\sd-webui-reactor\scripts\reactor_faceswap.py Traceback (most recent call last): File "D:\AINOVO\WebForge\webui\modules\scripts.py", line 940, in postprocess_image script.postprocess_image(p, pp, script_args) File "D:\AINOVO\WebForge\webui\extensions\sd-webui-reactor\scripts\reactor_faceswap.py", line 465, in postprocess_image result, output, swapped = swap_face( File "D:\AINOVO\WebForge\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 "D:\AINOVO\WebForge\webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 779, in operate swapped_image = face_swapper.get(result, target_face, source_face) TypeError: ArcFaceONNX.get() takes 3 positional arguments but 4 were given
Total progress: 100%|████████████████████████████████████████████████████████████████████| 5/5 [00:19<00:00, 3.94s/it] Total progress: 100%|████████████████████████████████████████████████████████████████████| 5/5 [00:19<00:00, 3.32s/it]
Steps to reproduce the problem
Inswapper working good, but i could never get the simswap working.. Above is the log..
Sysinfo
Win11, Ryzen 3700X, 1080Ti, 32GB RAM @3200MHz, Sys nvme 256GB
Relevant console log
Additional information
No response