deepfakes / faceswap

Deepfakes Software For All
https://www.faceswap.dev
GNU General Public License v3.0
52.05k stars 13.18k forks source link

inpaint error #1380

Closed kalle07 closed 6 months ago

kalle07 commented 6 months ago

Automatic1111 (1.8.0) tab img2img -> tab inpaint with or without mask

error: 2024-03-23 14:40:19,818 - FaceSwapLab - INFO - Try to use model : D:\stable-diffusion\webui\models\faceswaplab\inswapper_128.onnx████████████████████████████████████████████████████████████████████████████████| 31/31 [00:10<00:00, 2.96it/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-23 14:40:21,199 - FaceSwapLab - INFO - Finished processing image, return 1 images 2024-03-23 14:40:21,199 - FaceSwapLab - INFO - 1 images swapped 2024-03-23 14:40:21,207 - FaceSwapLab - INFO - Add swp image to processed 2024-03-23 14:40:21,207 - 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%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 31/31 [00:12<00:00, 2.46it/s] Total progress: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 31/31 [00:12<00:00, 2.96it/s]

in img2img it worked fine but i will change the face and dont calculate a whole image

torzdf commented 6 months ago

You're in the wrong github. This has nothing to do with us.