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
34.94k stars 4.93k forks source link

BLACK SQUARE #86

Open Loganius-II opened 1 month ago

Loganius-II commented 1 month ago

My output is literally covered with a black square in the face. I followed installation steps, and models. And I didn't do the GPU acceleration, I just ran the run.py

output

obaskly commented 1 month ago

same issue

knewter commented 1 month ago

same

rafgonlop1 commented 1 month ago

same issue here!

Edit: I was trying to run it using Python 3.11 to avoid installing pyenv, etc., on Windows. However, it didn't work, so in the end, I installed it, and with Python 3.10, following the README.md, it worked correctly.

0xtito commented 1 month ago

had the same problem, I then used GPU acceleration with directml and it worked

maxcurrent420 commented 1 month ago

So CPU only works on Linux with openvino I guess.

Loganius-II commented 1 month ago

-takes out raspberry pi- "did somebody say linux"

ANK789 commented 1 month ago

This problem should change onnxruntime version , if you without GPU ,run pip uninstall onnxruntime pip uninstall onnxruntime-gpu pip uninstall onnxruntime-directml pip install onnxruntime-directml==1.15.1 python run.py --execution-provider cpu

turbolego commented 4 weeks ago

This problem should change onnxruntime version , if you without GPU ,run pip uninstall onnxruntime pip uninstall onnxruntime-gpu pip uninstall onnxruntime-directml pip install onnxruntime-directml==1.15.1 python run.py --execution-provider cpu

Does not work on Intel based mac:

ERROR: Could not find a version that satisfies the requirement onnxruntime-directml==1.15.1 (from versions: none)
ERROR: No matching distribution found for onnxruntime-directml==1.15.1

This worked for me on Intel based MacOS:

pip uninstall onnxruntime
pip install onnxruntime==1.16.3
Suffton commented 3 weeks ago

This problem should change onnxruntime version , if you without GPU ,run pip uninstall onnxruntime pip uninstall onnxruntime-gpu pip uninstall onnxruntime-directml pip install onnxruntime-directml==1.15.1 python run.py --execution-provider cpu

Does not work on Intel based mac:

ERROR: Could not find a version that satisfies the requirement onnxruntime-directml==1.15.1 (from versions: none)
ERROR: No matching distribution found for onnxruntime-directml==1.15.1

This worked for me on Intel based MacOS:

pip uninstall onnxruntime
pip install onnxruntime==1.16.3

you are my hero. It works.

ozoc666 commented 1 week ago

This problem should change onnxruntime version , if you without GPU ,run pip uninstall onnxruntime pip uninstall onnxruntime-gpu pip uninstall onnxruntime-directml pip install onnxruntime-directml==1.15.1 python run.py --execution-provider cpu

Does not work on Intel based mac:

ERROR: Could not find a version that satisfies the requirement onnxruntime-directml==1.15.1 (from versions: none)
ERROR: No matching distribution found for onnxruntime-directml==1.15.1

This worked for me on Intel based MacOS:

pip uninstall onnxruntime
pip install onnxruntime==1.16.3

you are my hero. It works.

Really? Did you succeed in the end? I have some problems, can you help me?
i use ‘pip uninstall onnxruntime pip install onnxruntime==1.16.3’
then i used ‘python3 run.py --execution-provider coreml ’ but ‘run.py: error: argument --execution-provider: invalid choice: 'coreml' (choose from 'azure', 'cpu')’