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

Black squares instead of faces when swapping

Open doomhead0040 opened this issue 1 year ago • 10 comments

Installations went through without much trouble in venv pip install -r -requimnets.txt shows I have all packages. I don't know how to deal with this and what the error is coming from. Don't judge me for face selection this is just to show the problem. 02OTR-videoSixteenByNineJumbo1600-2865121445 img_5075-3008947372 output output1

doomhead0040 avatar Aug 03 '24 11:08 doomhead0040

metoo

ShuQiHere avatar Aug 03 '24 11:08 ShuQiHere

the model is broken, try to download it again

ShuQiHere avatar Aug 03 '24 12:08 ShuQiHere

which one model? EDIT: give me a link bro

doomhead0040 avatar Aug 03 '24 16:08 doomhead0040

the model is broken, try to download it again

didn't solve it

moaeddy avatar Aug 05 '24 09:08 moaeddy

I solved this problem by downloading it again; you may try downloading these two models in some other website and replace it with your old model

ShuQiHere avatar Aug 05 '24 09:08 ShuQiHere

or you may try some other alternative model...

ShuQiHere avatar Aug 05 '24 10:08 ShuQiHere

or you may try some other alternative model...

which other alternative models do you suggest, and which alternative website do you suggest the models can be downloaded aside from the instruction page?

I already re-downloaded and didn't work.

moaeddy avatar Aug 05 '24 10:08 moaeddy

solved this problem just by using GPU

inobyte avatar Aug 05 '24 10:08 inobyte

solved this problem just by using GPU

i am using Nvidia RTX 3060

moaeddy avatar Aug 05 '24 10:08 moaeddy

Your onnx runtime isnt compatible, onnxruntime==1.18.0 also try redownloading the models

hacksider avatar Aug 06 '24 02:08 hacksider

or you may try some other alternative model...

which other alternative models do you suggest, and which alternative website do you suggest the models can be downloaded aside from the instruction page?

I already re-downloaded and didn't work.

I replace old model with: inswapper_128_fp16.onnx GFPGANv1.4.pth

then, the problem solved!

chenbuer avatar Aug 09 '24 05:08 chenbuer

or you may try some other alternative model...

which other alternative models do you suggest, and which alternative website do you suggest the models can be downloaded aside from the instruction page? I already re-downloaded and didn't work.

I replace old model with: inswapper_128_fp16.onnx GFPGANv1.4.pth

then, the problem solved!

This is the correct answer. Thank you very much.

yizhangliu avatar Aug 12 '24 14:08 yizhangliu