add README.md
This commit is contained in:
@@ -1,277 +1,43 @@
|
||||
<table align="center" border="0"><tr><td align="center" width="9999">
|
||||
### 1. Install Anaconda
|
||||
|
||||
# DeepFaceLab Linux
|
||||
Anaconda is the preferred method of installing DeepFaceLab on Linux. Anaconda is a data science platform for scientific computing and makes managing machine learning libraries significantly easier. Native installation of these libraries is possible, but native uninstallation of these libraries can be significantly painful and introduce signficantly much more bloat, which is why I will not be supporting that method of installation.
|
||||
|
||||
To download the installer, follow this link and download the Anaconda platform for Linux x64.
|
||||
[https://www.anaconda.com/distribution/#linux](https://www.anaconda.com/distribution/#linux).
|
||||
|
||||
<a href="https://arxiv.org/abs/2005.05535">
|
||||
After installing the platform, you might need to add conda command into your path for further usage of the platform. You can do this with the following commands.
|
||||
```bash
|
||||
export PATH=~/anaconda3/bin:$PATH
|
||||
conda init bash
|
||||
# Restart your shell
|
||||
```
|
||||
|
||||
<img src="https://static.arxiv.org/static/browse/0.3.0/images/icons/favicon.ico" width=14></img>
|
||||
https://arxiv.org/abs/2005.05535</a>
|
||||
### 2. Install System Dependencies
|
||||
|
||||
You will need FFMpeg, Git, and the most recent NVIDIA driver for your system to use this project.
|
||||
|
||||
### the leading software for creating deepfakes
|
||||
### 3. Install DeepFaceLab
|
||||
|
||||
<img src="scripts/DFL_welcome.png" align="center">
|
||||
You will now need to create the DeepFaceLab environment with the following libraries. After creating the environment, you can activate it to work within the environment. You will not typically need to activate the environment when using this fork, as the scripts will automatically set it for you. If you want to change the name and other behavior, alter env.sh found in the scripts directory.
|
||||
|
||||
</td></tr>
|
||||
<tr><td align="center" width="9999">
|
||||
After creating and activating the environment, you will need to clone the repo and additionally install more dependencies using the Python command. Make sure your environment is active before doing this, or you will be using your system Python!
|
||||
|
||||
<p align="center">
|
||||
```bash
|
||||
conda create -n deepfacelab -c main python=3.6.8 cudnn=7.6.5 cudatoolkit=10.0.130
|
||||
conda activate deepfacelab
|
||||
git clone https://github.com/lbfs/DeepFaceLab_Linux.git
|
||||
cd DeepFaceLab_Linux
|
||||
git clone https://github.com/iperov/DeepFaceLab.git
|
||||
python -m pip install -r ./DeepFaceLab/requirements-cuda.txt
|
||||
```
|
||||
|
||||

|
||||

|
||||

|
||||
## 4. Download CelebA Dataset
|
||||
|
||||
</p>
|
||||
Finally, you will need to use the provided datasets required for DeepFaceLab training.
|
||||
|
||||
More than 95% of deepfake videos are created with DeepFaceLab.
|
||||
1. Download the latest NVIDIA build from the main repository for Windows. [https://drive.google.com/drive/folders/17a9b9zmLdnAlItifcGSE9ixDIDAT3YxP](https://drive.google.com/drive/folders/17a9b9zmLdnAlItifcGSE9ixDIDAT3YxP)
|
||||
2. Extract the build and go into the _internal folder. ``7z x DeepFaceLab_NVIDIA_build_XX_XX_XXX.exe``
|
||||
3. Copy both pretrain_CelebA and pretrain_Quick96 to the directory DeepFaceLab_Linux/
|
||||
|
||||
DeepFaceLab is used by such popular youtube channels as
|
||||
## 5. Navigate to the scripts directory and begin using DeepFaceLab_Linux :)
|
||||
|
||||
| [Ctrl Shift Face](https://www.youtube.com/channel/UCKpH0CKltc73e4wh0_pgL3g)| [VFXChris Ume](https://www.youtube.com/channel/UCGf4OlX_aTt8DlrgiH3jN3g/videos)|
|
||||
|---|---|
|
||||
|
||||
| [Sham00k](https://www.youtube.com/channel/UCZXbWcv7fSZFTAZV4beckyw/videos)| [Collider videos](https://www.youtube.com/watch?v=A91P2qtPT54&list=PLayt6616lBclvOprvrC8qKGCO-mAhPRux)| [iFake](https://www.youtube.com/channel/UCC0lK2Zo2BMXX-k1Ks0r7dg/videos)|
|
||||
|---|---|---|
|
||||
|
||||
| [NextFace](https://www.youtube.com/channel/UCFh3gL0a8BS21g-DHvXZEeQ/videos)| [Futuring Machine](https://www.youtube.com/channel/UCC5BbFxqLQgfnWPhprmQLVg)|
|
||||
|---|---|
|
||||
|
||||
</td></tr>
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
# What can I do using DeepFaceLab?
|
||||
|
||||
</td></tr>
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
## Replace the face
|
||||
|
||||
<img src="scripts/replace_the_face.png" align="center">
|
||||
|
||||
</td></tr>
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
## De-age the face
|
||||
|
||||
<table align="center" border="0">
|
||||
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
<img src="scripts/deage_0_1.jpg" align="center">
|
||||
|
||||
</td>
|
||||
<td align="center" width="9999">
|
||||
|
||||
<img src="scripts/deage_0_2.jpg" align="center">
|
||||
|
||||
</td></tr>
|
||||
|
||||
<tr><td colspan=2 align="center" width="9999">
|
||||
|
||||
 https://www.youtube.com/watch?v=Ddx5B-84ebo
|
||||
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
## Replace the head
|
||||
|
||||
<table align="center" border="0">
|
||||
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
<img src="scripts/head_replace_0_1.jpg" align="center">
|
||||
|
||||
</td>
|
||||
<td align="center" width="9999">
|
||||
|
||||
<img src="scripts/head_replace_0_2.jpg" align="center">
|
||||
|
||||
</td></tr>
|
||||
|
||||
<tr ><td colspan=2 align="center" width="9999">
|
||||
|
||||
 https://www.youtube.com/watch?v=xr5FHd0AdlQ
|
||||
|
||||
</td></tr>
|
||||
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
<img src="scripts/head_replace_1_1.jpg" align="center">
|
||||
|
||||
</td>
|
||||
<td align="center" width="9999">
|
||||
|
||||
<img src="scripts/head_replace_1_2.jpg" align="center">
|
||||
|
||||
</td></tr>
|
||||
|
||||
<tr ><td colspan=2 align="center" width="9999">
|
||||
|
||||
 https://www.youtube.com/watch?v=RTjgkhMugVw
|
||||
|
||||
</td></tr>
|
||||
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
<img src="scripts/head_replace_2_1.jpg" align="center">
|
||||
|
||||
</td>
|
||||
<td align="center" width="9999">
|
||||
|
||||
<img src="scripts/head_replace_2_2.jpg" align="center">
|
||||
|
||||
</td></tr>
|
||||
|
||||
<tr ><td colspan=2 align="center" width="9999">
|
||||
|
||||
 https://www.youtube.com/watch?v=R9f7WD0gKPo
|
||||
|
||||
</td></tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
</td></tr>
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
## Change the lip movement of politicians*
|
||||
|
||||
<img src="scripts/political_speech.jpg" align="center">
|
||||
|
||||
 https://www.youtube.com/watch?v=2Z1oA3GYPaY
|
||||
|
||||
\* also requires a skill in video editors such as *Adobe After Effects* or *Davinci Resolve*
|
||||
</td></tr>
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
# Deepfake native resolution progress
|
||||
|
||||
</td></tr>
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
<img src="scripts/deepfake_progress.png" align="center">
|
||||
|
||||
</td></tr>
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
<img src="scripts/make_everything_ok.png" align="center">
|
||||
|
||||
Unfortunately, there is no "make everything ok" button in DeepFaceLab. You should spend time studying the workflow and growing your skills. A skill in programs such as *AfterEffects* or *Davince Resolve* is also desirable.
|
||||
|
||||
</td></tr>
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
## Mini tutorial
|
||||
|
||||
<a href="https://www.youtube.com/watch?v=1smpMsfC3ls">
|
||||
|
||||
<img src="scripts/mini_tutorial.jpg" align="center">
|
||||
|
||||
</a>
|
||||
|
||||
</td></tr>
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
## Releases
|
||||
|
||||
||||
|
||||
|---|---|---|
|
||||
|Windows|[Get magnet link](https://pastebin.com/LLysqZpY)|Last release. Use torrent client to download.|
|
||||
||[Mega.nz](https://mega.nz/folder/Po0nGQrA#dbbttiNWojCt8jzD4xYaPw)|Contains new and prev releases.|
|
||||
|Google Colab|[github](https://github.com/chervonij/DFL-Colab)|by @chervonij . You can train fakes for free using Google Colab.|
|
||||
|CentOS Linux|[github](https://github.com/elemantalcode/dfl)|May be outdated. By @elemantalcode|
|
||||
|Linux|[github](https://github.com/lbfs/DeepFaceLab_Linux)|May be outdated. By @lbfs|
|
||||
||||
|
||||
|
||||
</td></tr>
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
## Links
|
||||
|
||||
||||
|
||||
|---|---|---|
|
||||
|Guides and tutorials|||
|
||||
||[DeepFaceLab guide](https://mrdeepfakes.com/forums/thread-guide-deepfacelab-2-0-explained-and-tutorials-recommended)|Main guide|
|
||||
||[Faceset creation guide](https://mrdeepfakes.com/forums/thread-guide-celebrity-faceset-dataset-creation-how-to-create-celebrity-facesets)|How to create the right faceset |
|
||||
||[Google Colab guide](https://mrdeepfakes.com/forums/thread-guide-deepfacelab-google-colab-tutorial)|Guide how to train the fake on Google Colab|
|
||||
||[Compositing](https://mrdeepfakes.com/forums/thread-deepfacelab-2-0-compositing-in-davinci-resolve-vegas-pro-and-after-effects)|To achieve the highest quality, compose deepfake manually in video editors such as Davinci Resolve or Adobe AfterEffects|
|
||||
||[Discussion and suggestions](https://mrdeepfakes.com/forums/thread-deepfacelab-2-0-discussion-tips-suggestions)||
|
||||
||||
|
||||
|Supplementary material|||
|
||||
||[Ready to work facesets](https://mrdeepfakes.com/forums/forum-celebrity-facesets)|Celebrity facesets made by community|
|
||||
||[Pretrained models](https://mrdeepfakes.com/forums/forum-celebrity-facesets)|Use pretrained models made by community to speed up training|
|
||||
||||
|
||||
|Communication groups|||
|
||||
||[reddit r/RUdeepfakes/](https://www.reddit.com/r/RUdeepfakes/new/)|Постим русские дипфейки сюда !|
|
||||
||[Русское сообщество](https://mrdeepfakes.com/forums/forum-russian-community)||
|
||||
||[telegram (English / Русский)](https://t.me/joinchat/ElkhqlgJ0I5HhdJyFar80w)|Don't forget to hide your phone number|
|
||||
||[telegram (English only)](https://t.me/DeepFaceLab_official_en)|Don't forget to hide your phone number|
|
||||
||[mrdeepfakes](https://mrdeepfakes.com/forums/)|the biggest NSFW English community|
|
||||
||[reddit r/GifFakes/](https://www.reddit.com/r/GifFakes/new/)|Post your deepfakes there !|
|
||||
||[reddit r/SFWdeepfakes/](https://www.reddit.com/r/SFWdeepfakes/new/)|Post your deepfakes there !|
|
||||
||QQ 951138799|中文 Chinese QQ group for ML/AI experts|
|
||||
||[deepfaker.xyz](https://www.deepfaker.xyz/)|中文学习站(非官方|
|
||||
|
||||
</td></tr>
|
||||
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
## How I can help the project?
|
||||
|
||||
|||
|
||||
|---|---|
|
||||
|Donate|Sponsor deepfake research and DeepFaceLab development.|
|
||||
||[Donate via Paypal](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=lepersorium@gmail.com&lc=US&no_note=0&item_name=Support+DeepFaceLab&cn=&curency_code=USD&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted)
|
||||
||[Donate via Yandex.Money](https://money.yandex.ru/to/41001142318065)|
|
||||
||bitcoin:bc1qkhh7h0gwwhxgg6h6gpllfgstkd645fefrd5s6z|
|
||||
|Alipay 捐款||
|
||||
|||
|
||||
|Last donations|-|
|
||||
|||
|
||||
|Collect facesets|You can collect faceset of any celebrity that can be used in DeepFaceLab and share it [in the community](https://mrdeepfakes.com/forums/forum-celebrity-facesets)|
|
||||
|||
|
||||
|Star this repo|Register github account and push "Star" button.|
|
||||
|
||||
</td></tr>
|
||||
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
## Meme zone
|
||||
<p align="center">
|
||||
|
||||
<table align="center" border="0"><tr>
|
||||
|
||||
<td align="center" width="9999">
|
||||
|
||||
<img src="scripts/meme1.jpg" align="center">
|
||||
|
||||
</td>
|
||||
|
||||
<td align="center" width="9999">
|
||||
|
||||
<img src="scripts/meme2.jpg" align="center">
|
||||
|
||||
</td> </tr>
|
||||
|
||||
<tr>
|
||||
<td colspan=2>
|
||||
<img src="scripts/meme3.jpg" align="center">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</p>
|
||||
|
||||
</td></tr>
|
||||
<tr><td align="center" width="9999">
|
||||
|
||||
<sub>#deepfacelab #deepfakes #faceswap #face-swap #deep-learning #deeplearning #deep-neural-networks #deepface #deep-face-swap #fakeapp #fake-app #neural-networks #neural-nets #tensorflow #cuda #nvidia</sub>
|
||||
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user