Not possible, I'm afraid.
Alignments files need to be generated from the source video.
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.
Not possible, I'm afraid.
Alignments files need to be generated from the source video.
My word is final
kilroythethird wrote: ↑Sat Aug 24, 2019 7:35 pm@Vaca: If you see opencl and CPU options in sort you are using a old faceswap version. Update via "tools" -> "check for updates. Should also be a good bit faster after the update,
Нет. Я тоже не вижу этого!! Я обновил и даже переустановил.
Not. I don't see that either !! I updated and even reinstalled.
That option is no longer in the sort tool, as it is no longer required.
If you need to force sorting on CPU, then check all of the GPUs under the "Exclude GPU" option
My word is final
Hi, when I try to use the console mode for the extraction I use this command line :
Code: Select all
python faceswap.py extract -i ~/faceswap/src/old.webm -o ~/faceswap/faces/old
And I receive the following error message :
Code: Select all
Traceback (most recent call last):
File "faceswap.py", line 5, in <module>
from lib.cli import args
File "/home/maxime/faceswap-2.0.0/lib/cli/args.py", line 11, in <module>
from lib.utils import get_backend
File "/home/maxime/faceswap-2.0.0/lib/utils.py", line 13, in <module>
from pathlib import Path
ImportError: No module named pathlib
I want to do it console mode beacause the interface presented below doesn't show up when I start faceswap.
Hello,
I have question about the sorting process. If there is another face in the frame with the face you are altering do you remove the frame SO NOT to confuse the computer. If so is the frame then not altered by the tool?
Thank you,
Chris
Not sure I entirely understand the question.
If you have an extracted face (512px extracted image) and your target face is front and center, but there is also another face in the same image, but they aren't front and center then that is fine, keep it. The other face will be masked out anyway.
My word is final
Hello
What do I do with alignment landmarks when head/facial features are not in camera view?
Example ... head turns right, right eye and eyebrow are no longer visible to the camera, but I still have the right eye and eyebrow landmark points.
Better detail: landmark points 17 through to 21 inclusive and landmark points 36 to 41 inclusive are present in the alignment even though those facial features are not visible to the camera.
Is it safe to delete them? Do I ignore them and let them "do whatever"? Do I stack them to the edge of the face?
Thank you very much in advance
ps I did search through the forum and did not find what I was looking for - if I missed it, please be kind enough to point me to it.
Specific landmark points really don't matter. We only use the overall alignment. If the face is properly centered and placed in the image (matching other images in the set) then you're fine to ignore it. If it isn't, you can try to put the landmarks approximately where they belong to correct the alignment or if you're just working on a training set, delete the misaaligned faces.
Tutorial claims that the swapping process uses lots of memory but I'm finding odd behavior. It really doesn't use much system memory, pegs the CPU @ 50% and only uses the first GPU is finds. Is this expected normal behavior?
Inference is a single GPU task, so that is normal. It will use the amount of CPU it requires to process the data. Memory use is exponential. Lots of images = lots of memory use.
My word is final
thanks you are awesome! I think I have a question!
1: After completing the steps of Clean the Alignments File, can I start training?
2: Manually Fix Alignments It looks like I have rewritten the process of extracting alignment files again? So, when I execute Manually Fix Alignments, is the .fsa file I use just extracted using faceswap.py, or is it the .fsa file after executing the Clean the Alignments File process?
Yes. that should be fine
TomLbj wrote: ↑Sat Oct 28, 2023 3:00 am2: Manually Fix Alignments It looks like I have rewritten the process of extracting alignment files again? So, when I execute Manually Fix Alignments, is the .fsa file I use just extracted using faceswap.py, or is it the .fsa file after executing the Clean the Alignments File process?
You will always use the alignments file <video name>_alignments.fsa
. This is always the latest alignments file. The version which has numbers at the end (eg <video name>_alignments_202310290000.fsa
is a back up version that is always taken whenever you make changes to the alignments file. This is so that you can roll back to an earlier version if you make a mistake.
If you are happy that the latest alignments file is correct, then you can safely delete any version of the alignments files that have numbers at the end.
My word is final