zikuicai / deepfakes

Code borrowed from censored https://www.reddit.com/user/deepfakes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deepfakes

This is the code from deepfakes' faceswap project. Hope we can improve it together, HAVE FUN!

training results

Message from deepfakes:

Whole project with training images and trained model (~300MB):
anonfile.com/p7w3m0d5be/face-swap.zip

Source code only:
anonfile.com/f6wbmfd2b2/face-swap-code.zip

Requirements:

Python 3
Opencv 3
Tensorflow 1.13
Keras 2

you also need a modern GPU with CUDA support for best performance

How to run:

python train.py

As you can see, the code is embarrassingly simple. I don't think it's worth the trouble to keep it secret from everyone. I believe the community are smart enough to finish the rest of the owl.

If there is any question, welcome to discuss here.

Some tips:

Reuse existing models will train much faster than start from nothing.
If there are not enough training data, start with someone looks similar, then switch the data.

About

Code borrowed from censored https://www.reddit.com/user/deepfakes/


Languages

Language:Python 100.0%