Missing Alignment Merge Job

Want to know about the Faceswap's Face Extraction process? Got tips, ideas or just want to learn about how it all works? Then this is the place for you


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 for Extracting and preparing face sets for training a model in Faceswap.

If you have found a bug are having issues with the Extraction process not working, then you should post in the Extract Support forum.

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

User avatar
dillardwillard
Posts: 1
Joined: Mon Feb 15, 2021 3:49 pm
Has thanked: 1 time

Missing Alignment Merge Job

Post by dillardwillard »

There is no longer an option to merge alignments. This is a fresh install. Am I missing something? Is this no longer necessary, is there a different way to do this? Thanks


User avatar
torzdf
Posts: 1372
Joined: Fri Jul 12, 2019 12:53 am
Answers: 125
Has thanked: 43 times
Been thanked: 270 times

Re: Missing Alignment Merge Job

Post by torzdf »

See here:

https://github.com/deepfakes/faceswap/pull/1123

No longer required for training going forward.

If you are working from an older extracted faceset, then you will need to make sure the training alignments file is available for the faces you are training on so that the faceset gets auto-updated. If this is not possible, then you can use the alignments tool to re-extract the faces into the new format.

My word is final


User avatar
noobynoobnoob
Posts: 10
Joined: Fri Feb 26, 2021 12:01 pm
Has thanked: 6 times
Been thanked: 1 time

Re: Missing Alignment Merge Job

Post by noobynoobnoob »

so how do you input different sets of faces and alignments for training?


User avatar
torzdf
Posts: 1372
Joined: Fri Jul 12, 2019 12:53 am
Answers: 125
Has thanked: 43 times
Been thanked: 270 times

Re: Missing Alignment Merge Job

Post by torzdf »

Not sure I really understand the question.

Alignments files are no longer required for training. Once your faceset is updated, the alignment data is loaded from the png headers

My word is final


User avatar
noobynoobnoob
Posts: 10
Joined: Fri Feb 26, 2021 12:01 pm
Has thanked: 6 times
Been thanked: 1 time

Re: Missing Alignment Merge Job

Post by noobynoobnoob »

sorry for the strangely worded question - i think i understand. Thanks for taking the time to reply!


User avatar
katjagr
Posts: 5
Joined: Fri Aug 21, 2020 8:30 am
Been thanked: 1 time

alignments merge function

Post by katjagr »

Hi ... where did the alignments merge function within the tools/alignments tab go?
Is there any replacement function?


User avatar
torzdf
Posts: 1372
Joined: Fri Jul 12, 2019 12:53 am
Answers: 125
Has thanked: 43 times
Been thanked: 270 times

Re: alignments merge function

Post by torzdf »

katjagr wrote: Thu Mar 04, 2021 11:59 am

Hi ... where did the alignments merge function within the tools/alignments tab go?
Is there any replacement function?

Please search first. This is already answered (in this thread).

My word is final


User avatar
katjagr
Posts: 5
Joined: Fri Aug 21, 2020 8:30 am
Been thanked: 1 time

Re: Missing Alignment Merge Job

Post by katjagr »

sorry - misread this - thanks a lot


User avatar
jedeitor
Posts: 2
Joined: Tue Mar 16, 2021 10:58 am

Re: Missing Alignment Merge Job

Post by jedeitor »

torzdf wrote: Sat Feb 27, 2021 11:20 am

Not sure I really understand the question.

Alignments files are no longer required for training. Once your faceset is updated, the alignment data is loaded from the png headers

Hello, I got to your answer while trying to solve this problem.

I understand that the alignment info now is stored inside the pictures.

The problem is, the software still asks for an alignment file to train.

You can't leave "Alignments A" or "Alignments B" blank.

So, even though I have a folder with 2 different facesets, each with it's alignment info into the pics, I have to point to the alignment file of one of them (since now the .fsa's can't be merged), so I guess it will be only training with the faceset indicated in that alignment file.

Or the software uses the whole folder, no matter what the alignment file says?

Thanks.

Last edited by jedeitor on Tue Mar 16, 2021 11:17 am, edited 1 time in total.

User avatar
torzdf
Posts: 1372
Joined: Fri Jul 12, 2019 12:53 am
Answers: 125
Has thanked: 43 times
Been thanked: 270 times

Re: Missing Alignment Merge Job

Post by torzdf »

Except, it doesn't force you to provide an alignments file. If it is, I would need to see the message.

The only times it will ask for/use an alignments file for training at the moment is to update an old face set, to put the alignments data into the headers.

My word is final


User avatar
jedeitor
Posts: 2
Joined: Tue Mar 16, 2021 10:58 am

Re: Missing Alignment Merge Job

Post by jedeitor »

Hmm... you are right.

The thing is, I generated 2 different sets for A and 1 set for B.

When I configured training, I merged the 2 A sets in one folder, pointed the software to folder A and folder B, selected the model folder, but left "alignments" blank.

Started training and it threw an error.

I then just added the alignment files and it worked. That's why I assumed you couln't train without those files.

When you answered I left the alignments sections blank again and this time it worked.

Not sure what was the problem the first time, since adding the alignments seemed to solve it. :shock:


User avatar
torzdf
Posts: 1372
Joined: Fri Jul 12, 2019 12:53 am
Answers: 125
Has thanked: 43 times
Been thanked: 270 times

Re: Missing Alignment Merge Job

Post by torzdf »

All's well that ends well :)

My word is final


User avatar
TwentyPastFour
Posts: 2
Joined: Wed Mar 17, 2021 9:27 pm

Merge Alignment File?

Post by TwentyPastFour »

Hi,

If I had a lot of different videos of the same individual to extract, the Faceswap program creates a lot of alignment files per source. When cleaning it there will be an issue where the Faceswap program will crash due to the reasoning that not all the images are found

Is there any way to merge to alignment file? So I can just put all the extract into one folder and one alignment file?

Thanks


User avatar
TwentyPastFour
Posts: 2
Joined: Wed Mar 17, 2021 9:27 pm

Re: Merge Alignment File?

Post by TwentyPastFour »

Upon further search of the forums it turns out that alignment files are no longer needed but if alignment files are no longer needed, how are we to use the Multi-Faces, Frames without faces function a.k.a manual tool

Last edited by TwentyPastFour on Wed Mar 17, 2021 10:37 pm, edited 1 time in total.

User avatar
torzdf
Posts: 1372
Joined: Fri Jul 12, 2019 12:53 am
Answers: 125
Has thanked: 43 times
Been thanked: 270 times

Re: Missing Alignment Merge Job

Post by torzdf »

They are still needed. They still hold all of the information re: faces for a given source video.

The file is just not needed for training any more.

My word is final


User avatar
14XXX88
Posts: 4
Joined: Thu Mar 25, 2021 12:42 pm

was the merge option removed?

Post by 14XXX88 »

I don't see it under tools/alignment anymore


User avatar
torzdf
Posts: 1372
Joined: Fri Jul 12, 2019 12:53 am
Answers: 125
Has thanked: 43 times
Been thanked: 270 times

Re: was the merge option removed?

Post by torzdf »

14XXX88 wrote: Thu Mar 25, 2021 12:47 pm

I don't see it under tools/alignment anymore

Answered in this thread

My word is final


User avatar
14XXX88
Posts: 4
Joined: Thu Mar 25, 2021 12:42 pm

Re: Missing Alignment Merge Job

Post by 14XXX88 »

then explain this

Code: Select all

No alignments file found. Please provide an alignments file for your destination video (recommended) or enable on-the-fly conversion (not recommended).

User avatar
torzdf
Posts: 1372
Joined: Fri Jul 12, 2019 12:53 am
Answers: 125
Has thanked: 43 times
Been thanked: 270 times

Re: Missing Alignment Merge Job

Post by torzdf »

That has nothing to do with merging alignments.

Merging alignments file was an old training process. You're trying to convert.

My word is final


User avatar
rumpelstiltskin
Posts: 1
Joined: Tue May 25, 2021 12:08 am
Has thanked: 2 times

Re: Missing Alignment Merge Job

Post by rumpelstiltskin »

Are the changes reflected in the guide? viewtopic.php?t=27. This is confusing.

Last edited by rumpelstiltskin on Tue May 25, 2021 12:56 am, edited 3 times in total.

Post Reply