-
-
Notifications
You must be signed in to change notification settings - Fork 22
Installing and setting up the MVE‐DFL fork
Please note: This article is written with Windows 10/11 in mind. While it is possible to run DFL on Linux, that will not be covered in this article.
Installing and updating the MVE-DFL fork is easiest via Git. If you don't already have it, it is recommended you install Git for Windows. You do not need to know (almost) anything about Git itself, it will be enough to copy the commands from this article.
It is recommended you download and extract the additional .bat files that make it easier to use some of the new functionality of this fork. You can download them from here: DeepFaceLab-bat_files.zip And then simply extract them in your main DFL directory, next to your existing .bat files.
🛠 Under construction 🛠
Make sure to download the build appropriate for your hardware:
- DeepFaceLab NVIDIA RTX 3000 series build - for Nvidia 3000 series GPUs (uses CUDA)
- DeepFaceLab NVIDIA up to RTX 2080 TI build - for Nvidia GPUs that support CUDA, and are not from series 3000. This includes series 2000, 1600, 1000, and 900
- DeepFaceLab DirectX 12 build - for AMD, Intel, or Nvidia GPUs that fully support DX12. This includes AMD Radeon R5, R7, R9 200 and newer, Intel HD Graphics 500 and newer, and some older Nvidia GPUs
NOTE: CUDA-based builds will provide better performance than the DX12 build
Secondly, run the downloaded executable file, or use your archive application of choice (ie 7-zip) to extract the content.
Recommendations:
- you should avoid any spaces in the path to the directory where you extract DFL
- if possible, you should put DFL on an SSD
Inside your DFL directory you should find:
- directory called
_internal
- directory called
workspace
- a lot of different
.bat
files - and a
changelog.html
Depending on which build you downloaded and extracted, your DFL directory will look something like this:
You can now continue to Installing the MVE-DFL fork with existing DFL installation.
If you already have DFL installed and set up, there's only a few steps to do to start using this fork.
This is the recommended option, as it will make updating easier as well.
- go to your existing DFL directory and open `_internal, you should see something like this:
- either rename
DeepFaceLab
(this is recommended), for example intoDeepFaceLab_old
so you keep a copy if you run into problems
or delete that directory (only if you're sure of what you're doing) - open Command Prompt (Win+R > cmd) and navigate to your
DFL\_internal
directory, something like this:
- type and run
setenv
- type and run
git clone https://github.com/MachineEditor/DeepFaceLab-MVE
- after it is done, type and run
cd DeepFaceLab
followed bypython -m pip install -r requirements-cuda.txt
After everything is done, you should now see a newDeepFaceLab˛directory inside your
internal`, something like this:
If you did not encounter any errors, congratulations, you are done! :)
Please note: you will not be able to use Git to update this kind of install.
Before going over the steps to set everything up, first go to the MVE-DFL fork's project page and then click Code > Download ZIP
as in this picture:
The file offered for download should be called DeepFaceLab-master.zip
Next, follow these steps:
- go to your existing DFL directory and open `_internal, you should see something like this:
- either rename
DeepFaceLab
(this is recommended), for example intoDeepFaceLab_old
so you keep a copy if you run into problems
or delete that directory (only if you're sure of what you're doing) - extract the downloaded
.zip
file here (in_internal
) - rename extracted directory from
DeepFaceLab-master
intoDeepFaceLab
- double click
python_console.bat
, after which you should see something like this
- now type and run
cd ..\DeepFaceLab
- type and run
python -m pip install -r requirements-cuda.txt
And you're done!
After updates were pushed by developers, or for any other reason, update process will depend on how you installed the fork. The easiest way to update is via the git pull
command.
- open Command Prompt and navigate to
long_DFL_directory_name\_internal\DeepFaceLab
- type and run
git pull
- done! :)
You will need to download the latest full project's zip file and extract it.
Follow the steps 1-3 from Installing without Git