How to install DeepFaceLab on Linux to create deepfake videos

For several years on the internet there are so-called deepfake videos, but in recent months its popularity has increased greatly thanks to various tools and applications that make it easier to create.

Deepfake is a technique used to modify images or videos using artificial intelligence, in most cases it is used to superimpose one face on another, thus creating fake videos with impressive results.

Before, creating deepfake videos was a skill that took years to learn, but now, with the advancement of technology, it is very easy to do it.

DeepFaceLab is a tool available for Linux and other systems that allows you to create deepfake videos in a very simple way using the command line.

It may seem that using DeepFaceLab is very difficult to use, but nothing far from the opposite, just by running a few scripts you can modify a video and add a new face to the protagonist.

How to install DeepFaceLab on Linux

To install DeepFaceLab you will have to first install Anaconda3 using the Official Site and then you will have to initialize it with the following commands:

export PATH = ~ / anaconda3 / bin: $ PATH conda init bash

Now you can proceed to the installation of DeepFacebLab with the following lines of code:

conda create -y -n deepfacelab python = 3.6.6 cudatoolkit = 9.0 cudnn = 7.3.1 conda activate deepfacelab git clone https://github.com/lbfs/DeepFaceLab_Linux.git cd DeepFaceLab_Linux python -m pip install -r requirements-cuda .txt

If you have Ubuntu 16.04 or 18.04 you can check the official build page for ways to install DeepFaceLab on both systems.

Using DeepFaceLab can be tricky but once you read this always up-to-date tutorial you will be able to create your deepfake videos like a pro.

If you have any problems with the installation or use of DeepFaceLab, we will gladly help you in the comments.


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

5 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   rugher said

    How can I start the program once it is installed or how can I verify that it works?

  2.   HUGO FERNANDO CARRERA TOASA said

    Thanks for sharing
    as I solve the following.
    ERROR: Could not find a version that satisfies the requirement tensorflow-gpu == 1.12.0 (from -r requirements-cuda.txt (line 5)) (from versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2 .1.14.0, 0rc1.14.0, 1rc1.14.0, 1.15.0, 0rc2.0.0, 0a2.0.0, 0b2.0.0, 1b2.0.0, 0rc2.0.0, 1rcXNUMX)
    ERROR: No matching distribution found for tensorflow-gpu == 1.12.0 (from -r requirements-cuda.txt (line 5))
    please help me

  3.   Ricardo said

    Hello,

    It gives me the same error that HUGO FERNANDO CARRERA TOASA comments

    ERROR: Could not find a version that satisfies the requirement tensorflow-gpu == 1.12.0 (from -r requirements-cuda.txt (line 5)) (from versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2 .1.14.0, 0rc1.14.0, 1rc1.14.0, 1.15.0, 0rc1.15.0, 1rc1.15.0, 2rc1.15.0, 3rc1.15.0, 2.0.0, 0a2.0.0, 0b2.0.0, 1b2.0.0, 0rc2.0.0 , 1rc2.0.0, 2rc2.0.0, XNUMX)
    ERROR: No matching distribution found for tensorflow-gpu == 1.12.0 (from -r requirements-cuda.txt (line 5))

  4.   Francisco Diaz Carsí said

    Hello:
    You say "Using DeepFaceLab can be complicated but once you read this always up-to-date tutorial you will be able to create your deepfake videos like a pro." but where is the usage tutorial?

    Thank you, greetings.

  5.   Bill said

    Hello, good morning, I would like to know if someone can help me with deepface for windows 10. The point is that I download it and following the steps of a video tutorial, install the drivers for the nvidia graphics card, the cuda_9.0.176_win10.exe , the cuda_9.0.176.1_windows.exe patch, the cudnn-9.0-windows10-x64-v7.6.5.32.zip library and the deepface program. I did all the steps but when I open the program I get that little blank window that says this: Changelog:
    - Squirrel autoupdates
    - Re-added image datasets
    - Fixed no-face error
    - Re-added merge options
    - Upgraded to TF 1.5, CUDA 9
    Remember to download and install the core library as well. Once it has been downloaded and installed as per the instructions on the forum, reload the app and this message will
    disappear.
    That is to say that the program does not open to me. I would deeply appreciate any help you can give me. Very thankful. William