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

Black Square When Face Is Shown

Open HowToCount opened this issue 1 year ago • 5 comments

OS: Arch Linux GPU: GTX 1050Ti CPU: Ryzen 7 1700x

Terminal info: ❯ python run.py 2024-10-30 16:04:36.425682: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:477] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered WARNING: All log messages before absl::InitializeLog() is called are written to STDERR E0000 00:00:1730293476.443451 37785 cuda_dnn.cc:8310] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered E0000 00:00:1730293476.448874 37785 cuda_blas.cc:1418] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered [ WARN:[email protected]] global cap_v4l.cpp:999 open VIDEOIO(V4L2:/dev/video1): can't open camera by index [ WARN:[email protected]] global cap.cpp:342 open VIDEOIO(V4L2): backend is generally available but can't be used to capture by index Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: /home/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: /home/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: /home/user/.insightface/models/buffalo_l/det_10g.onnx detection [1, 3, '?', '?'] 127.5 128.0 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: /home/user/.insightface/models/buffalo_l/genderage.onnx genderage ['None', 3, 96, 96] 0.0 1.0 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: /home/user/.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]

HowToCount avatar Oct 30 '24 13:10 HowToCount

the same, my console log:

[ERROR:[email protected]] global cap.cpp:323 cv::VideoCapture::open VIDEOIO(DSHOW): raised unknown C++ exception!

[ WARN:[email protected]] global cap.cpp:344 cv::VideoCapture::open VIDEOIO(DSHOW): backend is generally available but can't be used to capture by index Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: C:\Users\minat/.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\minat/.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\minat/.insightface\models\buffalo_l\det_10g.onnx detection [1, 3, '?', '?'] 127.5 128.0 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: C:\Users\minat/.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\minat/.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]

minatori50 avatar Nov 01 '24 16:11 minatori50

the same as well

AliceAria avatar Nov 07 '24 12:11 AliceAria

Make sure that your webcam is not being utilized in any other application.

KRSHH avatar Nov 07 '24 13:11 KRSHH

of course. My webcam is activated by this program.

AliceAria avatar Nov 07 '24 13:11 AliceAria

Change the inswapper

Download this inswapper https://github.com/facefusion/facefusion-assets/releases/download/models/inswapper_128.onnx Replace with existing inswapper .

Updatedme avatar Nov 10 '24 16:11 Updatedme

Change the inswapper

Download this inswapper https://github.com/facefusion/facefusion-assets/releases/download/models/inswapper_128.onnx Replace with existing inswapper .

good

lxlyjss avatar Jan 19 '25 12:01 lxlyjss

I am glad that helped

Change the inswapper

Download this inswapper https://github.com/facefusion/facefusion-assets/releases/download/models/inswapper_128.onnx Replace with existing inswapper .

Updatedme avatar Jan 22 '25 02:01 Updatedme