Several issues while converting

Got questions or tips about the Conversion process? This is the place to discuss them.


Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for discussing tips and understanding the process involved with Converting faces from your trained model.

If you are having issues with the Convert process not working as you would expect, then you should post in the Convert Support forum.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
FaceSwapperZeppelin
Posts: 1
Joined: Tue Nov 29, 2022 12:30 pm

Several issues while converting

Post 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.

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: Several issues while converting

Post 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

My word is final

Locked