DeepFaceLive/build/linux
2023-02-28 23:08:13 +03:00
..
Dockerfile upd numpy 1.21.6 2023-02-28 23:08:13 +03:00
README.md fix docker build 2023-02-28 20:18:29 +03:00
start.sh fix docker build 2023-02-28 20:18:29 +03:00

DeepFaceLive Docker

Requirements

  • nvidia-driver>=470
  • cuda>=11.4

Setup

  1. Open console and clone git repo
git clone https://github.com/iperov/DeepFaceLive.git
cd DeepFaceLive/build/linux/
  1. start.sh builds and run container with proper options
  2. Usage of ./start.sh
    -d specify a folder for DeepFaceLive data (videos, models, etc)
    -d /home/userJohn/DeepFaceLive_data
    **if data folder not specified - used data in build/linux/data
    ***create data folder in build/linux if launch first time and no matter where to place
    -c will pass through existing video devices(webcam, fake webcam and other) such as /dev/video0 and /dev/video1, etc
    -c /dev/video0
    If no autodetect you video driver run in host(not have locate, modinfo)
    nvidia-smi | grep Driver
    and see output:
NVIDIA-SMI 525.89.02    Driver Version: 525.89.02    CUDA Version: 12.0

-r bruild and run with you driver version from nvidia-smi like this
./start.sh -r 525 -d /home/userJohn/DeepFaceLive_data -c /dev/video0

***DO NOT RUN ./start.sh from root(sudo)!