Alignments tool 'rename'

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.

Locked
User avatar
jode
Posts: 24
Joined: Thu Apr 20, 2023 1:16 pm
Has thanked: 1 time
Been thanked: 5 times

Alignments tool 'rename'

Post by jode »

When using rename option in alignmets tool it won't work without alignments file. But it renames filenames right even if it have wrong alignments file given. Does it really need it or is there something going wrong with images with wrong alignments file? Just to be sure before making any damage :lol:

User avatar
torzdf
Posts: 2687
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 135 times
Been thanked: 628 times

Re: Alignments tool 'rename'

Post by torzdf »

As far as I can remember (and I may be wrong), the rename option does indeed rename based on what is in the PNG header of the image, so no, alignments file is not necessary.

The reason it is still required is that "alignment file" is a required argument for the tool (the tool was created prior to storing information in the png header), and updating it to not be required would be a bit of a pain. It's a nuisance, currently, rather than a critical flaw, so I haven't spent any time on fixing this. One day I will.

This is a long way of saying 'you are correct, and what you are doing is fine'.

My word is final

Locked