-
Notifications
You must be signed in to change notification settings - Fork 120
Description
OK in
TAB img2img
SUB TAB img2img
it worked
but
TAB img2img
SUB TAB inpaint
draw a mask on face
(dont work)
...
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 35/35 [00:10<00:00, 3.43it/s]
2024-03-11 09:29:10,060 - FaceSwapLab - INFO - Try to use model : D:\stable-diffusion\webui\models\faceswaplab\inswapper_128.onnx██████████████████████████████| 35/35 [00:09<00:00, 3.47it/s]
d:\stable-diffusion\system\python\lib\site-packages\insightface\utils\transform.py:68: FutureWarning: rcond
parameter will change to the default of machine precision times max(M, N)
where M and N are the input matrix dimensions.
To use the future default and silence this warning we advise to pass rcond=None
, to keep using the old, explicitly pass rcond=-1
.
P = np.linalg.lstsq(X_homo, Y)[0].T # Affine matrix. 3 x 4
2024-03-11 09:29:11,333 - FaceSwapLab - INFO - blend all faces together
2024-03-11 09:29:11,516 - FaceSwapLab - INFO - Int Gender : 0
2024-03-11 09:29:11,516 - FaceSwapLab - INFO - Process face 0
2024-03-11 09:29:11,516 - FaceSwapLab - INFO - Source Gender 0
2024-03-11 09:29:11,516 - FaceSwapLab - INFO - Target faces count : 1
2024-03-11 09:29:11,516 - FaceSwapLab - INFO - swap face 0
2024-03-11 09:29:12,201 - FaceSwapLab - INFO - ********************************************************************************
2024-03-11 09:29:12,201 - FaceSwapLab - INFO - Inswapper
2024-03-11 09:29:12,209 - FaceSwapLab - INFO - ********************************************************************************
2024-03-11 09:29:12,241 - FaceSwapLab - INFO - Finished processing image, return 1 images
2024-03-11 09:29:12,241 - FaceSwapLab - INFO - 1 images swapped
2024-03-11 09:29:12,251 - FaceSwapLab - INFO - Add swp image to processed
2024-03-11 09:29:12,251 - FaceSwapLab - ERROR - Failed to swap face in postprocess method : 'tuple' object has no attribute 'height'
Traceback (most recent call last):
File "D:\stable-diffusion\webui\extensions\sd-webui-faceswaplab\scripts\faceswaplab.py", line 216, in postprocess
save_image(
File "D:\stable-diffusion\webui\modules\images.py", line 611, in save_image
if (image.height > 65535 or image.width > 65535) and extension.lower() in ("jpg", "jpeg") or (image.height > 16383 or image.width > 16383) and extension.lower() == "webp":
AttributeError: 'tuple' object has no attribute 'height'
Total progress: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 35/35 [00:12<00:00, 2.72it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 35/35 [00:12<00:00, 3.47it/s]