Page 1 of 1

Several issues while converting

Posted: Tue Nov 29, 2022 12:49 pm
by FaceSwapperZeppelin

At First, sorry if I do some mistakes at English.

Secondly, this is my first FaceSwap trial, so be kind pls.

I am around 40.000 itterations (not quite good performance at the moment).

I am working on FaceSwap CLI, not on FaceSwap GUI.

I have a problem converting because of "No alignment found for XXXXXXXXXXXXXXXXX.png, skipping", but I am specifying in my command the path to the "allingment.fsa", created by the extract command.

Command: "python faceswap.py convert -i ./path/to/faceA/ -o ./path/to/output_1/ -m ./path/to/model_faceAB -al ./path/to/alignments.fsa -c match-hist"

I am wondering why the script doesn't recognize the aligment, any help will be grateful.

Next I will attach the entire output:
-->

Code: Select all

Setting Faceswap backend to NVIDIA
11/29/2022 13:26:41 INFO     Log level set to: INFO
11/29/2022 13:26:44 INFO     Reading alignments from: '/path/to/alignments.fsa'
11/29/2022 13:26:44 INFO     Loading Writer from Opencv plugin...
11/29/2022 13:26:44 INFO     Loading Model from Original plugin...
No alignment found for XXXXXXXXXXXXX.png, skipping
No alignment found for XXXXXXXXXXXXX.png, skipping
No alignment found for XXXXXXXXXXXXX.png, skipping
No alignment found for XXXXXXXXXXXXX.png, skipping
11/29/2022 13:26:44 INFO     Using configuration saved in state file
11/29/2022 13:26:45 INFO     Loaded model from disk: 'path/to/model_faceAB/original.h5'
No alignment found for XXXXXXXXXXXXX.png, skipping
11/29/2022 13:26:45 INFO     Loading Mask from Mask_Blend plugin...
No alignment found for XXXXXXXXXXXXX.png, skipping
No alignment found for XXXXXXXXXXXXX.png, skipping
No alignment found for XXXXXXXXXXXXX.png, skipping
No alignment found for XXXXXXXXXXXXX.png, skipping
11/29/2022 13:26:45 INFO     Loading Color from Match_Hist plugin...
No alignment found for XXXXXXXXXXXXX.png, skipping
No alignment found for XXXXXXXXXXXXX.png, skipping
11/29/2022 13:26:45 INFO     Loading Scaling from Sharpen plugin...
 ------------ Continues until the end ------------
Converting: 100%|█████████████████████████████████████████████████████████████████| 179/179 [00:02<00:00, 72.94it/s]
11/29/2022 13:26:47 INFO     -------------------------
11/29/2022 13:26:47 INFO     Images found:        179
11/29/2022 13:26:47 INFO     Faces detected:      0
11/29/2022 13:26:47 INFO     -------------------------
11/29/2022 13:26:47 INFO     Process Succesfully Completed. Shutting Down...

Thank you very much for paying attention on my case

Greetings, coders.


Re: Several issues while converting

Posted: Wed Nov 30, 2022 5:13 pm
by torzdf

If no alignment is found then, in all likelihood, you are pointing convert at the wrong alignments file.

Make sure you have the file that contains every face in the video you are trying to convert from. See here:
viewtopic.php?t=1083#Alignments