DeepFaceLab/doc/doc_build_and_repository_info.md
TooMuchFun 22ccec7036 Clean language up docs (#147)
* clean up docs

* doc fixes as requested

* revert updates to sort tool documentation
2019-02-15 20:06:13 +04:00

16 lines
No EOL
974 B
Markdown

## Build and Repository Info
DeepFaceLab officially supports Windows-only. If you want to support Mac/Linux/Docker - create a fork, it will be referenced here.
#### **Installing dlib on Windows**
The version of `dlib` in pip is compiled without CUDA support. Therefore you have to compile it manually in order to use the `dlib` face extractor.
Command line example for Windows: `python setup.py install -G "Visual Studio 14 2015" --yes DLIB_USE_CUDA`
#### **CPU mode**
It is possible to run from script for all stages using the `--cpu-only` flag. To run from script, install the separate dependencies for CPU mode using `pip -r requirements-cpu.txt`.
Please note that extraction and training will take much long without a GPU and performance will greatly suffer without one. In particular, do not use DLIB extractor in CPU mode, it's too slow to run without a GPU. Train only on 64px resolution models like H64 or SAE (with low settings) and the lightweight encoder.