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

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

Open wentrue97 opened 3 weeks ago

wentrue97 commented 3 weeks ago

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')

vodangtue commented 3 weeks ago

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

leokovaski commented 3 weeks ago

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

Updatedme commented 3 weeks ago

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 commented 3 weeks ago

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