Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ Just run it in the terminal.
Check latest cudnn and cudatoolkit version for your GPU device.

```bash
conda create -n deepfacelab -c main python=3.7 cudnn=7.6.5 cudatoolkit=10.1.243
conda activate deepfacelab
git clone --depth 1 https://github.com/nagadit/DeepFaceLab_Linux.git
cd DeepFaceLab_Linux
conda env create -f environment.yml
conda activate deepfacelab
git clone --depth 1 https://github.com/iperov/DeepFaceLab.git
python -m pip install -r ./DeepFaceLab/requirements-cuda.txt
```
Expand Down
10 changes: 10 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: deepfacelab
dependencies:
- python=3.7
- cudnn=7.6.5
- cudatoolkit=10.1.243
variables:
DFL_PYTHON: python3.7
DFL_WORKSPACE: "workspace/"
DFL_ROOT: "./"
DFL_SRC: "./DeepFaceLab"
8 changes: 1 addition & 7 deletions scripts/env.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/usr/bin/env bash
conda activate deepfacelab
cd ..
export DFL_PYTHON="python3.7"
export DFL_WORKSPACE="workspace/"

if [ ! -d "$DFL_WORKSPACE" ]; then
mkdir "$DFL_WORKSPACE"
Expand All @@ -13,7 +10,4 @@ if [ ! -d "$DFL_WORKSPACE" ]; then
mkdir "$DFL_WORKSPACE/data_dst/aligned"
mkdir "$DFL_WORKSPACE/data_dst/aligned_debug"
mkdir "$DFL_WORKSPACE/model"
fi

export DFL_ROOT="./"
export DFL_SRC="./DeepFaceLab"
fi