Easy Deepfake Tutorial: DeepFaceLab 2.0 Quick96
Wondering how to make deepfakes? This easy tutorial will have you creating deepfakes in just a few hours! We’ll start with DeepFaceLab 2.0 Quick96, a preset training model that is easy to use on most computers that have Windows and an NVIDIA GPU. By the end of this deepfake guide you will be familiar with the basic deepfake process and ready to move on to more advanced projects!
Visit https://github.com/iperov/DeepFaceLab.
Scroll down to the section labeled ‘Releases’. You can select the torrent magnet link or download from mega.nz. Mega users can right-click on the file, select download, then standard download.
FakeApp, like most face-swapping software, is based on the original implementation provided by the Reddit user deepfakes. There are other softwares available, such as faceswap on GitHub), but FakeApp remains the most accessible one due to its friendly interface. Whichever application you are going to use, make sure to download it from an. When most people hear the term 'deepfake' they automatically think of something NSFW. Let's adjust that stigma. This subreddit is dedicated to SFW machine learning and other DF resources, including audio deepfakes.
Once your download is complete you can double-click on the .exe file or use your favorite zip program to extract. There is no setup for DeepFaceLab. Once the files are extracted the installation is complete.
Open the folder labeled DeepFaceLab_NVIDIA. Here you will see a couple of folders and several batch files used in the deepfake process. For this tutorial we will only be using 9 of these files.
First let’s have a look at the workspace folder. In this directory you will see 3 more folders which will hold our images and trained model files. The 2 video files include data_src (our source video) and data_dst (our destination video). Click back to the main folder and we’ll get started with the deepfake.
Throughout this tutorial we will be using DeepFaceLab’s default settings by pressing Enter or Return when asked for input.
Deepfake Software Mac Download
Double-click on the file labeled ‘2) extract images from video data_src’ and press enter a few times to use the default values. The video file will be processed and a .png file for each frame will be created. Press any key or simply close the window.
Do the same for data_dst using the file ‘3) extract images from video data_dst FULL FPS’ with default values.
Now we’ll process the images and extract the faces to be used in our deepfake. Double-click the file ‘4) data_src faceset extract’ and use the default values. After a few minutes the extraction will complete and give you a report on the number of images found and faces detected.
Do the same for data_dst using the file ‘5) data_dst faceset extract’.
After extraction we can view the source and destination facesets using the files ‘4.1) data_src view aligned result’ and ‘data_dst view aligned results’ respectively. Here we can remove unwanted faces from the project but for now we will be using all the images. Close the image viewer.
It is now time to begin training our deepfake model. Double-click the file labeled ‘6) train Quick96.bat’. Again, we will use the default settings. The software will load all our images files and attempt to run the first iteration of our training. If it is successful, then the training preview window will open. If the trainer fails to run, then you will need to try CPU only training which is not covered in this video.
Let’s take a moment to look at the preview window. At the top we have some keyboard commands. Below that a graph indicating the accuracy of our training, and a preview of our model images.
Press the P key to update the preview window and notice the graph and images change. These lines represent loss values that will approach zero over time, so the lower the line the better the results will be. You can see these same values represented as numbers in the command window.
The image preview has several columns showing our source and destination images being processed. In the last column we can see the current progress of our deepfake faceset. Use this preview window to decide when you want to end the training. Press Enter to save the model and exit.
Now that our training is complete, we can merge the faces and create our final deepfake video.
Start by running ‘7) merge Quick96’ and press Enter a few times to load the default settings. In the merger window you will see a map of keyboard commands. For this tutorial we will only be using a few of these commands.
Press the Tab key to switch between the preview window and the keyboard map. If you see a black preview just use the > key to advance to the first frame. You will notice the current frame number and settings displayed in the command window. Use the W and S keys to change the erode mask value to 20, noticing how the border around the face contracts. Next use the E and D keys to raise the blur mask value to 100.
Now we apply these setting to the rest of our frames by pressing the Shift and / keys simultaneously. Finally, we process the remaining frames by pressing the Shift and > keys. Once the merger reaches 100 percent, we can close both windows.
The last part of this process is to merge our new deepfake frames into a video file with our destination audio. Double-click the file labeled ‘8) merged to mp4.bat’ and press Enter to begin processing. Close the window when merging is done.
Finally we are ready to view our deepfake video. Navigate to the workspace folder and you will see a couple new files. Play the file labeled ‘result.mp4’. Congratulations! You have successfully created a deepfake!
Fake video and audio recordings that look and sound like the real thing called deepfakes have been around for a while now.
The ability to synthesize human images and videos of things that people never said or did might seem scary. However, with the rise of face swap apps and the integration of deepfakes into Snapchat it seems like this technology is mostly being used for entertainment.
How To Make a Deepfake Video
Today anyone can download deepfake software or even use the web tools and apps to create a deepfake online.
If you’re looking to have some fun with this AI technology, here are some of the best deepfake apps and websites you can use to make these.
DeepFaceLab
Best for: research purposes.
DeepFakeLab is one of the first deepfake apps for Windows that appeared on the internet. It’s a great option if you’re looking to get a deeper understanding of deepfakes and the technology behind them. DeepFaceLab allows you to swap faces, replace the whole head, age a person, as well as change the lip movement.
DeepFakeLab was created for researchers and computer vision students, so it’s definitely not the most user-friendly software on this list. You’ll need a powerful PC to run it. Not to mention it will take time before you’ll understand how the software works.
At the same time, you probably won’t find a better and more advanced deepfake app that you can use for free.
Deep Fake Software For Mac
Zao
Best for: creating quick deepfakes.
Zao is a Chinese app that lets you create a deepfake video in just a few seconds. If you’re looking for a bit of fun and don’t want to spend too much time or effort on your deepfakes, give Zao a go.
The app is extremely easy to use. To make your first deepfake, all you have to do is choose a video from a wide library selection of clips from popular movies and TV shows. Zao will do the rest for you.
The deepfake app does a better job with Chinese faces, but it’s still good fun to try it on others. The app is free to use and is available for Android and iOS.
Faceswap
Best for: training purposes.
Faceswap is a free and open source deepfake app. It’s powered by Tensorflow, Keras, and Python, and can be used for learning and training purposes.
If you’re more interested in the process of creating a deepfake video than in a deepfake itself, Faceswap has an active forum where you can ask questions about it and tutorials on how to create deepfakes. They also offer guides on how to use the software for complete beginners.
Faceswap runs on Windows, Mac, and Linux. Although the developers recommend using a stronger PC and a graphics card, since the process of face swapping on a CPU is “incredibly slow”.
Deep Art Effects
Best for: creative use.
Deep Art Effects is a unique deepfake app on this list. It works with images rather than videos and allows you to turn them into works of art. The algorithm behind it is inspired by and trained on works of famous artists like Van Gogh, Picasso, and Michelangelo.
Upload any picture from your gallery, choose one of the styles available, and let the AI transform it into unique artwork. Deep Art Effects has both a mobile version for Android and iOS, and a desktop version for Windows, Mac, and Linux available for free.
REFACE
Best for: fans of GIFs and memes.
Do you exchange a lot of GIFs and memes with your friends and family? Then REFACE is the right app for you. The software uses the face swapping AI called RefaceAI to superimpose your face on GIFs and images.
Creating a deepfake image in REFACE is very simple. Snap a picture of your face and choose a GIF or a popular meme from the app’s gallery. The app will then create a personalized image with your face on it.
The accuracy of the result will depend on your face symmetry and the GIF you’re using. Good news is, REFACE has a lot of options that you can try till you get the perfect deepfake.
The app is free and available for both Android and iOS.
Morphin
Best for: anyone who uses GIFs in their daily communication.
Morphin is another deepfake app on our list that will help you stay on top of the latest internet memes. Morphin has a wide collection of popular high-resolution GIFs that you can use to send to your friends instead of standard emojis.
Morphin is essentially very similar to the REFACE app. Although in Morphin the GIFs have more of a cartoony rather than a realistic look, and you can search the collection by tags. To create a deepfake, you just need to take a selfie and choose a GIF.
The app is free and available for Android and iOS.
Jiggy
Best for: anyone who doesn’t take themselves too seriously.
Jiggy is a deepfake app that can make anyone dance. Not literally, but in the form of a moving GIF image. All you need to create a dancing deepfake is a face and selected dance moves. The app will merge the two and you’ll get a perfect deepfake that is bound to brighten up anyone’s mood.
This is possible thanks to the motion transfer technology behind the app. It takes a photo of a person and turns them into an interactive animated character. Jiggy is free to use and is available on Android and iOS.
Should We Be Concerned About Deepfakes?
Many people are concerned about the rise of deepfakes and the possible negative impact they can have when used to misrepresent someone. However, it seems like for now people only use deepfake technology to have some fun with it. From sharing GIFs created in deepfake apps on Instagram Stories to creating full-length deepfake videos to upload on YouTube.
Have you tried any deepfake apps already? Were you happy with the results? Share your thoughts on deepfakes with us in the comments below.