You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error:
Traceback (most recent call last):
File "C:\inswapper\swapper.py", line 239, in
result_image = process(source_img, target_img, args.source_indexes, args.target_indexes, model)
File "C:\inswapper\swapper.py", line 112, in process
temp_frame = swap_face(
File "C:\inswapper\swapper.py", line 67, in swap_face
source_face = source_faces[source_index]
IndexError: list index out of range
But if I run a modified command that only works with the current file, the command passes without any problems
"./data/mans1.jpeg" --source_indexes=0 --target_indexes=0 --background_enhance --face_upsample --upscale=2 --codeformer_fidelity=0.5
The text was updated successfully, but these errors were encountered:
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 call last):
File "C:\inswapper\swapper.py", line 239, in
result_image = process(source_img, target_img, args.source_indexes, args.target_indexes, model)
File "C:\inswapper\swapper.py", line 112, in process
temp_frame = swap_face(
File "C:\inswapper\swapper.py", line 67, in swap_face
source_face = source_faces[source_index]
IndexError: list index out of range
But if I run a modified command that only works with the current file, the command passes without any problems
"./data/mans1.jpeg" --source_indexes=0 --target_indexes=0 --background_enhance --face_upsample --upscale=2 --codeformer_fidelity=0.5
The text was updated successfully, but these errors were encountered: