inswapper
inswapper copied to clipboard
One-click Face Swapper and Restoration powered by insightface 🔥
[#16 ](url) Created a new list called source faces . This contains list of all the faces from all the source images from left to right . Creating this, solves...
following the basic example in readme, (swap man1 and man2 into mans1.jpeg) it does not generate the face swap and it throws: running on a mac, CPU provider `2024-04-10 10:17:33.073537...
C:\Users\WOW\AppData\Local\Programs\Python\Python311\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...
I did import the codeformer as well and did everything as require, but still getting this error. `Traceback (most recent call last): File "swapper.py", line 228, in from restoration import...
How to solve the import error of "basicsr. utils. realsrgan_utils" ````python # import sys # sys.path.append('./CodeFormer/CodeFormer') import sys sys.path.append("/root/autodl-tmp/workspace/inswapper/CodeFormer/CodeFormer") from basicsr.utils.realesrgan_utils import RealESRGANer import os import cv2 import torch import...
Command: python swapper.py --source_img="./inputs/face.png;./inputs/face2.png" --target_img "./inputs/fb2.png" --face_restore --background_enhance --face_upsample --upscale=2 --codeformer_fidelity=0.5 Output: Source image paths: ['./inputs/face.png', './inputs/face2.png'] Applied providers: ['AzureExecutionProvider', 'CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}, 'AzureExecutionProvider': {}} find model: ./checkpoints/models/buffalo_l/1k3d68.onnx...
When I run the default test command, it always ends with an error: Command: python swapper.py --source_img="./data/man1.jpeg;./data/man2.jpeg" --target_img "./data/mans1.jpeg" --source_indexes=0 --target_indexes=0 --face_restore --background_enhance --face_upsample --upscale=2 --codeformer_fidelity=0.5 Error: Traceback (most recent...
The specified procedure could not be found. Error loading "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\lib\cudnn_adv_infer64_8.dll" or one of its dependencies. I have cudnn_adv_infer64_8.dll under this folder. Replacing faces in target image from the left to...
I'd like to know what source_indexes and target_indexes are and what values need to be input.  This Error 