🧠What We’ll Cover:
- Anaconda environment setup
- Installing DeepFaceLive
- Downloading pretrained models
- Running DeepFaceLive from command line
- Testing and going live (optional)
✅ PREREQUISITES
- A Windows PC with NVIDIA GPU
- Installed:
- Anaconda: https://www.anaconda.com/products/distribution
- Git: https://git-scm.com/
- OBS Studio (optional, for output)
1. 🧪 Create Anaconda Environment
bashCopyEditconda create -n deepface python=3.9 -y
conda activate deepface
2. 🧾 Clone DeepFaceLive Repository
bashCopyEditgit clone https://github.com/iperov/DeepFaceLive.git
cd DeepFaceLive
3. 🧱 Install Dependencies
A. Install CUDA & cuDNN (if not already)
Make sure your NVIDIA GPU driver is updated, then:
bashCopyEditconda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
B. Install Other Python Packages
bashCopyEditpip install -r requirements.txt
If you encounter OpenCV errors, install with:
bashCopyEditpip install opencv-python-headless
4. 📥 Download Pretrained Models
You can:
- Download from: https://dfmodels.org
- Place model folders inside:
bashCopyEditDeepFaceLive/model/inswapper_128
You can also train your own later if needed.
5. 🚀 Run DeepFaceLive from Command Line
To launch DeepFaceLive:
bashCopyEditpython main.py
If nothing happens or you need GUI:
bashCopyEditpython DeepFaceLive.py
6. 📺 Optional: Route to OBS or Zoom
- Install OBS Studio + OBS-VirtualCam
- Open OBS → Add a Window Capture (point to DeepFaceLive)
- Start Virtual Camera
- Select OBS Virtual Camera in Zoom or other apps
7. 💡 Extra Useful Commands
- Deactivate environment:
bashCopyEditconda deactivate
- List all environments:
bashCopyEditconda env list
- Delete environment:
bashCopyEditconda remove --name deepface --all
🧪 If You Want Voice Change
Use Voicemod
, RVC
, or iMyFone MagicMic
. They can run in parallel to DeepFaceLive and stream to Discord, OBS, etc.
🚨 Tips for Success
- Ensure camera permissions are enabled.
- Your GPU must support CUDA (NVIDIA only).
- Don’t run in low VRAM setups — at least 4GB GPU VRAM is needed.
- Run in Anaconda Prompt, not basic CMD.
Want a custom batch script to launch everything with one click? Just let me know and I’ll write it.