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

The program does not use GPU acceleration.

Open Phill526 opened this issue 1 year ago • 8 comments

Hello! The program is work but dont use my rtx 3080 cause i checked it load its idling. The fps is very baad... I installed nvidia toolkit and pip install onnxruntime-gpu==1.16.3

Phill526 avatar Aug 10 '24 22:08 Phill526

run these commands: pip uninstall onnxruntime onnxruntime-gpu pip install onnxruntime-gpu==1.16.3 and start the app with this one: python run.py --execution-provider cuda

lelelol avatar Aug 10 '24 22:08 lelelol

run these commands: pip uninstall onnxruntime onnxruntime-gpu pip install onnxruntime-gpu==1.16.3 and start the app with this one: python run.py --execution-provider cuda

I started python run.py --execution-provider cuda it doesnt work and shows error error: argument --execution-provider: invalid choice: 'cuda' (choose from 'dml', 'cpu')

Phill526 avatar Aug 10 '24 23:08 Phill526

run these commands: pip uninstall onnxruntime onnxruntime-gpu pip install onnxruntime-gpu==1.16.3 and start the app with this one: python run.py --execution-provider cuda

Made as you write exactly the same result.

Phill526 avatar Aug 10 '24 23:08 Phill526

run these commands: pip uninstall onnxruntime onnxruntime-gpu pip install onnxruntime-gpu==1.16.3 and start the app with this one: python run.py --execution-provider cuda

oh shit its worked!! But i cach black square often, u know something about it??

Phill526 avatar Aug 10 '24 23:08 Phill526

But i cach black square often, u know something about it??

Try to download models from #70 inswapper_128_fp16.onnx GFPGANv1.4.pth

burdukow avatar Aug 10 '24 23:08 burdukow

But i cach black square often, u know something about it??

Try to download models from #70 inswapper_128_fp16.onnx GFPGANv1.4.pth

okay! any more model u can advice?

Phill526 avatar Aug 11 '24 00:08 Phill526

pip uninstall onnxruntime onnxruntime-gpu pip install onnxruntime-gpu==1.16.3 and start the app with this one: python run.py --execution-provider cuda

i had this model already by the way

Phill526 avatar Aug 11 '24 00:08 Phill526

I have the same problem or it is similar. "error: argument --execution-provider: invalid choice: 'coreml' (choose from 'azure', 'cpu')" Apple Intel

leokovaski avatar Aug 21 '24 04:08 leokovaski