Deep-Live-Cam icon indicating copy to clipboard operation
Deep-Live-Cam copied to clipboard

Why is the face in the generated picture black?

Open fengcanluoye opened this issue 1 year ago • 12 comments

output

fengcanluoye avatar Sep 01 '24 13:09 fengcanluoye

This happens for me when I'm using the onnxruntime-gpu by the requirements and not recommended version (1.16.3) for my NVIDIA GPU.

NXTler avatar Sep 01 '24 16:09 NXTler

same problem

naffan2014 avatar Sep 06 '24 10:09 naffan2014

no GPU, same problem

noondood avatar Sep 06 '24 19:09 noondood

same problem

saymyname77 avatar Sep 10 '24 08:09 saymyname77

This happens for me when I'm using the onnxruntime-gpu by the requirements and not recommended version (1.16.3) for my NVIDIA GPU.

Yes, running the following code solves it.

` pip uninstall onnxruntime onnxruntime-gpu pip install onnxruntime-gpu==1.16.3

python run.py --execution-provider cuda `

fengcanluoye avatar Sep 10 '24 08:09 fengcanluoye

同样的问题

zrd1314 avatar Sep 12 '24 10:09 zrd1314

This happens for me when I'm using the onnxruntime-gpu by the requirements and not recommended version (1.16.3) for my NVIDIA GPU.

Yes, running the following code solves it.

` pip uninstall onnxruntime onnxruntime-gpu pip install onnxruntime-gpu==1.16.3

python run.py --execution-provider cuda `

I tried your method, but it still doesn't work. pip uninstall onnxruntime onnxruntime-gpu

pip install onnxruntime-gpu==1.19.2

python run.py --execution-provider cuda

13837678992 avatar Sep 14 '24 07:09 13837678992

same problem. I am using cpu. anyone have fix for this?

atsedeweyn avatar Sep 14 '24 17:09 atsedeweyn

same problem. I am using cpu. anyone have fix for this?

same problem also

Deja09 avatar Sep 15 '24 03:09 Deja09

Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: C:\Users\wimdows 10/.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\wimdows 10/.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\wimdows 10/.insightface\models\buffalo_l\det_10g.onnx detection [1, 3, '?', '?'] 127.5 128.0 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: C:\Users\wimdows 10/.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\wimdows 10/.insightface\models\buffalo_l\w600k_r50.onnx recognition ['None', 3, 112, 112] 127.5 127.5 set det-size: (640, 640) Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} inswapper-shape: [1, 3, 128, 128] and still showing black square

Deja09 avatar Sep 15 '24 03:09 Deja09

Using the replacement version of inswapper_128_fp16.onnx solves this issue for me (find link in readme "inswapper_128_fp16.onnx (Note: Use this replacement version if an issue occurs on your computer")

chenyangjamie avatar Sep 20 '24 15:09 chenyangjamie

PLEASE I NEED URGENT HELP ON THIS

When i use onnxruntime-gpu==1.19.2, the generated pictures or videos faces get blurred with black. But when i use onnxruntime-gpu==1.16.3, the app only works perfectly with CPU but slow when i execute with python run.py . However i always gets error when i run with python run.py --execution-provider cuda dd

algaeakama avatar Oct 27 '24 19:10 algaeakama

Did you pull the latest version?

KRSHH avatar Oct 28 '24 03:10 KRSHH

@KRSHH , Yes, I used the latest version. I ### clone the Deep Live Cam while installing and didn't just download it. Please I want to know if you have successfully installed it on GPU and is working perfectly.

algaeakama avatar Oct 28 '24 03:10 algaeakama