hacksider / Deep-Live-Cam

real time face swap and one-click video deepfake with only a single image
GNU Affero General Public License v3.0
41.22k stars 6.01k forks source link

Extremely low FPS on Windows #805

Closed federico-digital closed 1 week ago

federico-digital commented 1 week ago

The LIVE runs at 1 FPS, I installed everything manually with no issues on Windows 10, I installed Visual Studio. As my graphic card is a Radeon RX 560 Series, I can't use CUDA.

Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: C:\Users\New User/.insightface\models\buffalo_l\1k3d68.onnx landmark_3d_68 ['None', 3, 192, 192] 0.0 1.0 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: C:\Users\New User/.insightface\models\buffalo_l\2d106det.onnx landmark_2d_106 ['None', 3, 192, 192] 0.0 1.0 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: C:\Users\New User/.insightface\models\buffalo_l\det_10g.onnx detection [1, 3, '?', '?'] 127.5 128.0 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: C:\Users\New User/.insightface\models\buffalo_l\genderage.onnx genderage ['None', 3, 96, 96] 0.0 1.0 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: C:\Users\New User/.insightface\models\buffalo_l\w600k_r50.onnx recognition ['None', 3, 112, 112] 127.5 127.5

CPU is not even maxing out, why does it run at 1 FPS?

Microsoft Windows 10 Pro Version 10.0.19045 Build 19045 System Type x64-based PC Processor AMD Ryzen 7 3800X 8-Core Processor, 3893 Mhz, 8 Core(s), 16 Logical Processor(s) Installed Physical Memory (RAM) 32.0 GB Total Physical Memory 31.9 GB Available Physical Memory 9.84 GB Total Virtual Memory 63.9 GB Available Virtual Memory 30.8 GB Graphic Card: Radeon RX 560 Series

hacksider commented 1 week ago

CUDA won't work on radeon GPU

federico-digital commented 1 week ago

Is it normal to be so slow using CPUExecutionProvider? Updated the issue.

hacksider commented 6 days ago

Yes, it is normal to be slow but that's extremely slow on your side. My laptop can handle up to 4 fps using just cpu.