Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 12 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,26 @@
## Using
### 1. Install Anaconda
Anaconda is the preferred method of installing DeepFaceLab on Linux.
[Just follow the tutorial](https://docs.conda.io/projects/conda/en/latest/user-guide/install).
[Follow the Official tutorial](https://docs.conda.io/projects/conda/en/latest/user-guide/install).

### 2. Install System Dependencies
You will need FFMpeg, Git, and the most recent NVIDIA driver for your system to use this project.
### 2. Prerequisites
You need `FFMpeg`, `Git` and the most recent NVIDIA driver for your system.

If you are here, then you already have everything...

### 3. Install DeepFaceLab

Just run it in the terminal.

Check latest cudnn and cudatoolkit version for your GPU device.
### 3. Install DeepFaceLab and DeepFaceLab for Linux
Check latest `cudnn` and `cudatoolkit` version for your GPU device, you can see your driver and CUDA version by issueing:
`nvidia-smi` and you can check in the [Official Compatibility List](https://docs.nvidia.com/deploy/cuda-compatibility/) to see which `cuDNN` and `cudatoolkit` version you should install.

```bash
conda create -n deepfacelab -c main python=3.7 cudnn=7.6.5 cudatoolkit=10.1.243
conda create -n deepfacelab -c main -c conda-forge python=3.7 cudnn=<the latest compatible version with your gpu> cudatoolkit=<the latest compatible version with your gpu>
conda activate deepfacelab
git clone --depth 1 https://github.com/nagadit/DeepFaceLab_Linux.git
cd DeepFaceLab_Linux
git clone --depth 1 https://github.com/iperov/DeepFaceLab.git
python -m pip install -r ./DeepFaceLab/requirements-cuda.txt
```

## 4. Download Pretrain (optional)
Use script 4.1 from the scripts directory.

Or download manually
## 4. Optional: Download a Pre-trained model
Use any of the three scripts that start with `4.1_download_<pretrained model>` to fetch them from the CLI, requires `wget` and `unzip`, alternatively you can download the manually:

[CelebA](https://github.com/nagadit/DeepFaceLab_Linux/releases/download/1.0/pretrain_CelebA.zip)

Expand All @@ -35,8 +29,9 @@ Or download manually
[Quick96](https://github.com/nagadit/DeepFaceLab_Linux/releases/download/1.0/pretrain_Quick96.zip)

## 5. Navigate to the scripts directory and begin using DeepFaceLab_Linux ᗡ:
Run all scripts with BASH shell
Run all scripts with BASH shell, i.e:
```bash
cd scripts
bash 1_clear_workspace.sh
```
etc
etc