Search found 2652 matches

by torzdf
Mon Feb 26, 2024 10:07 am
Forum: Extract Discussion
Topic: Faceswap face extraction
Replies: 0
Views: 1837

Re: Faceswap face extraction

> So the face extraction just extracts the faces from the frames at a lower res, This is not strictly correct. It extracts, and aligns. faces at a uniform resolution to be able to train a model. This may be at a higher resolution, lower resolution or the same resolution as the original image. > is t...
by torzdf
Tue Feb 20, 2024 7:28 pm
Forum: Training Discussion
Topic: About Mask while training and after that
Replies: 1
Views: 1922

Re: About Mask while training and after that

loss) there is a check box for choosing mask https://imgur.com/a/PcgU2g5 . From my understanding the selected mask will focus masked face area while Training. Right ? And when we convert there are many mask that we can choose (mask that included in alignment). Yes, the mask you select in settings i...
by torzdf
Tue Feb 20, 2024 1:56 am
Forum: Extract Support
Topic: Error generating mask due to invalid tensor format fp32
Replies: 1
Views: 1931

Re: Error generating mask due to invalid tensor format fp32

This is a bug in Tensorflow-Metal (Apple's plugin layer) so is upstream from us. Ultimately "Invalid tensor format: "fp32" doesn't make a lot of sense. Nearly all tenors are fp32! If you are getting full output, then do not worry about it too much. If not, then there may be bigger iss...
by torzdf
Wed Feb 14, 2024 1:54 pm
Forum: Training Discussion
Topic: A Short Hello with some questions
Replies: 3
Views: 1979

Re: A Short Hello with some questions

If I understand you correctly, it comes down to this (fictional/theoretical): If I want to "smuggle" myself into an Indiana Jones like Harrison Ford, I shouldn't extract the entire film, but rather mainly passages with his face from all sorts of movies, so that Harrison's face becomes bes...
by torzdf
Tue Feb 13, 2024 12:34 pm
Forum: Installation Support
Topic: Specify a GPU for SwapFace use?
Replies: 1
Views: 2290

Re: Specify a GPU for SwapFace use?

Yes. The command line option -X (or the gui option exclude GPUs in the Global section of each page) lets you exclude GPUs for use in Faceswap. We have .dockerfiles in our repo. You will need to mount some volumes for data/persisting config changes: https://github.com/deepfakes/faceswap/blob/master/I...
by torzdf
Thu Feb 08, 2024 12:24 pm
Forum: General Discussion
Topic: Putting Words in Someone's mouth (literally)
Replies: 1
Views: 2134

Re: Putting Words in Someone's mouth (literally)

You can't do that with Faceswap, no. The video A drives the swapped face, so you would need a video of your professor saying those words already, which would undermine the whole point. To do what you want, you would need an "actor" to say the words you want and then swap the faces. Look in...
by torzdf
Tue Feb 06, 2024 12:30 pm
Forum: Training Support
Topic: OSError: Unable to synchronously open file (bad object header version number)
Replies: 2
Views: 2836

Re: OSError: Unable to synchronously open file (bad object header version number)

Your model file is corrupted.

You can either use the model tool to restore from backup, or you can delete the current model folder and rename the last snapshot that was taken.

by torzdf
Mon Feb 05, 2024 12:34 pm
Forum: Extract Discussion
Topic: Extraction question about object on the face & weird too-wide jaw line alignment
Replies: 1
Views: 2262

Re: Extraction question about object on the face & weird too-wide jaw line alignment

Do you include picture(s) of face that some part of faces are hidden by objects (like book, leaves, tree, or wall...) to training data? If they are masked correctly, I do include them, yes. As I mentioned above, I used Bisenet-Fp masker during extraction. Is Bisenet-Fp masker landmarks based mask, ...
by torzdf
Mon Feb 05, 2024 12:32 pm
Forum: General Discussion
Topic: New faker general questions
Replies: 6
Views: 2580

Re: New faker general questions

Honestly, I have no idea. Windows 7 is well out of support now, so it may or may not work. Not been tested.

by torzdf
Sun Feb 04, 2024 2:00 pm
Forum: General Discussion
Topic: New faker general questions
Replies: 6
Views: 2580

Re: New faker general questions

You can do that, yes. However, if you are happy with the final model, then there is no need to keep the snapshots (unless you wish to specifically rollback to a particular point in the model's history) re: images, that is correct. You can feed the model any faces you wish. No need to keep the origin...
by torzdf
Sun Feb 04, 2024 1:22 pm
Forum: Training Support
Topic: Face correction
Replies: 1
Views: 2253

Re: Face correction

This is entirely a data issue. I assume you are saying that the A->B swap looks bad? The reason this occurs is that you have faces tilted at more extreme angles in the A (source video), but do not have sufficient coverage of that data on the B side. When the model does the swap, it struggles to crea...
by torzdf
Sun Feb 04, 2024 1:20 pm
Forum: General Discussion
Topic: New faker general questions
Replies: 6
Views: 2580

Re: New faker general questions

So, just started for the first time a few days ago, read a ton of guides and posts, did some searches and answered just about all my early questions and have hit a snag on a topic. Welcome to Faceswap and the forum :) I know the model training folder is the training data set which is a must to back...
by torzdf
Fri Feb 02, 2024 3:54 pm
Forum: Training Support
Topic: Error starting training: TypeError: 'NoneType' object is not subscriptable
Replies: 5
Views: 2436

Re: Error starting training: TypeError: 'NoneType' object is not subscriptable

I meant, specifically, what is the contents of those 2 folders. What is happening here is that the process is trying to read the Faceswap meta information from the images in these folders. It is unable to. The only reason this would happen is if you had images in that folder that were not generated ...
by torzdf
Fri Feb 02, 2024 3:45 pm
Forum: Training Support
Topic: Error starting training: TypeError: 'NoneType' object is not subscriptable
Replies: 5
Views: 2436

Re: Error starting training: TypeError: 'NoneType' object is not subscriptable

A word of friendly advice. It makes life a lot easier if you describe the exact steps you took to hit this error, otherwise we have very little to go on.

However, what are the contents of these folders, and where did they come from?

D:/A
D:/B

by torzdf
Fri Feb 02, 2024 2:44 pm
Forum: Training Support
Topic: iterations
Replies: 1
Views: 2218

Re: iterations

Yes. Just relaunch training with the same options as before and it will continue from where it left off.

by torzdf
Wed Jan 31, 2024 12:39 pm
Forum: Installation Support
Topic: standalone
Replies: 1
Views: 2101

Re: standalone

Not directly, no. The install process needs to Download several GBs of data, which it is not realistic for us to package. You could install it on a different machine and then transfer the faceswap folder over. You would need to install MiniConda3 on the other computer too (and then also transfer the...
by torzdf
Tue Jan 23, 2024 3:33 pm
Forum: Introductions
Topic: Hi all.
Replies: 1
Views: 2436

Re: Hi all.

We have Russian speakers on our Discord server who may be able to help you.

Google translate:

На нашем сервере Discord есть русскоязычные люди, которые, возможно, смогут вам помочь.

https://discord.gg/FC54sYg

by torzdf
Fri Jan 19, 2024 12:23 pm
Forum: General Discussion
Topic: Building a GAN Model to provide "faces" from a limited dataset
Replies: 1
Views: 1877

Re: Building a GAN Model to provide "faces" from a limited dataset

On the former, although I have not tested myself, the general consensus is that feeding FS with ML generated faces tends to not work out so well (there are artefacts in generated faces that we may not see, but the model definitely does). That being said, this should not dissuade you from experimenti...
by torzdf
Fri Jan 19, 2024 12:20 pm
Forum: Convert Support
Topic: Resized input video (target) AFTER extraction, what to do?
Replies: 3
Views: 2362

Re: Resized input video (target) AFTER extraction, what to do?

Honestly, I doubt you could tell the difference between doing it before or doing it after, and it is certainly quicker to do it after.

If I were you, I would run a convert with the output scaling as above. Only if you then were not happy with it would I consider marking up a lower res input file.