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

run.py: error: argument --execution-provider: invalid choice: 'directml' (choose from 'dml', 'cpu')

Open wentrue97 opened this issue 1 year ago • 4 comments

input python run.exe -- execution provider directml, there is an error when running it

D:\Download\Deep-Live-Cam-main>python run.py --execution-provider directml usage: run.py [-h] [-s SOURCE_PATH] [-t TARGET_PATH] [-o OUTPUT_PATH] [--frame-processor {face_swapper,face_enhancer} [{face_swapper,face_enhancer} ...]] [--keep-fps] [--keep-audio] [--keep-frames] [--many-faces] [--video-encoder {libx264,libx265,libvpx-vp9}] [--video-quality [0-51]] [--max-memory MAX_MEMORY] [--execution-provider {dml,cpu} [{dml,cpu} ...]] [--execution-threads EXECUTION_THREADS] [-v] run.py: error: argument --execution-provider: invalid choice: 'directml' (choose from 'dml', 'cpu')

wentrue97 avatar Aug 20 '24 10:08 wentrue97

use this command python run.py --execution-provider dml

vodangtue avatar Aug 20 '24 11:08 vodangtue

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

leokovaski avatar Aug 21 '24 04:08 leokovaski

Ok. Now do this .

Use this code

python run.py If it does not give you any error, then close it and run with the execution provider .

Updatedme avatar Aug 21 '24 12:08 Updatedme

If you need help installating Deep-live-cam , reach out to me on whatsapp. +2347081306010 https://wa.me/2347081306010 https://wa.me/message/GXQYWX4XRTXGB1

Updatedme avatar Aug 21 '24 12:08 Updatedme