Ah well, Reddit shit its pants and banned /r/deepfakes , /r/deepfakeservice and /r/facesets – partly, maybe mostly, due to someone called Shane and also the usual corp dick-wads thinking they can put a stop to this if Reddit removes this content.
If you want to see videos of people dying though, you can still go to Reddit for that \o/
Reddit’s new policy… “prohibits the dissemination of images or video depicting any person in a state of nudity or engaged in any act of sexual conduct apparently created or posted without their permission, including depictions that have been faked”.”
Following on from the FakeApp v1.1 tutorial (which should be used as a primer) – comes the newest version 2.1 – make sure you follow the instructions carefully, if you need help you can find it within the Reddit communities.
One-button video creation.
One-button dataset creation.
More streamlined, cohesive UI.
Packaged into one installer, potential for desktop/start menu shortcuts.
Abstracted out command prompts.
Packaged FFMPEG, removing the need for manual video-to-image conversion.
Text fields replaced with more intuitive drop-downs.
Split some videos with your two desired faces into two sets of a few hundred frames each with a tool like FFMPEG. If you use FFMPEG, the command you want is: ffmpeg -i scene.mp4 -vf fps=[FPS OF VIDEO] "out%d.png". After splitting, run both directories of split frames through the “Extract” tool to produce training data
Switch to the “Train” tool, and input the paths of the training data produced in step 1 (it should be in a folder called “aligned”) as well as the “models” folder along with this project (which you can move somewhere convenient)
Train until the preview window shows results you are satisfied with
Split the video to be faked into frames and run the “Convert” tool on them to create faked frames, which can then be re-merged into a deepfaked video
Copy and reuse the same encoders for faster results in future fakes
-CUDA 8.0 must be installed, and its bin folder must be included in the PATH environment variable.
-At least a few GB of free space on disk to allow the app to create Temp files
-Run fakeapp.bat to launch the app
–RuntimeError: module compiled against api version 0xc but this version numpy is 0xb is just a warning related to how the alignment libraries were installed, the app will run properly despite it appearing if no other errors occur
-It may take 30-45 seconds after pressing the Start button for the app to unpack and start the training/merging scripts the first time
-You can still quit training by focusing the training window and pressing “q”
-Paths to models/data must be absolute, not relative
Deepfakes FakeApp v1.1 Tutorial | TensorFlow Neural Network Face Replacement
This tutorial on how to create deepfakes on Windows is solid but his results are hilariously bad. This is only due to the amount of time Brambo dedicated to the machine learning (should have been a good few hours more than allowed in this clip).
This goes over using FakeApp v1.1. You can use the models generated through this app in FakeApp v2.0. You must have a windows machine, Nvidia GPU, and the ability to install CUDA 8.0. All other OS/GPUs are not supported.
Download CUDA 8.0 and store its bin folder in the PATH environment variable (when I installed Cuda this was automatically done for me, but if you have Cuda related errors then you should double check the path)
Google’s first result of ‘CUDA 8.0‘ will give you a link to the latest version of CUDA Toolkit (for Nvidia users only!).
Over at Reddit, user deepfakes has released a program that allows users to create “deep fakes,” or nearly seamless manufactured images. As with about 99 per cent of all tech-related innovation, the first use and proof-of-concept have to do with porn. Specifically, the app allows you to face swap your favourite person’s face onto a porn actor’s:
In December, Motherboard discovered a Redditor named ‘deepfakes’ quietly enjoying his hobby: Face-swapping celebrity faces onto porn performers’ bodies. He made several convincing porn videos of celebrities—including Gal Gadot, Maisie Williams, and Taylor Swift—using a machine learning algorithm, his home computer, publicly available videos, and some spare time.
Back in December, the unsavoury hobby of a Reddit user by the name of deepfakes became a new centrepiece of artificial intelligence debate, specifically around the newfound ability to face-swap celebrities and porn stars. Using software, deepfakes was able to take the face of famous actresses and swap them with those of porn actresses, letting him live out a fantasy of watching famous people have sex.
Now, just two months later, easy-to-use applications have sprouted up with the ability to perform this real-time editing with even more ease, according to Motherboard, which also first reported about deepfakes late last year.