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

Run prompt :AttributeError: 'NoneType' object has no attribute 'shape'

Open fengcanluoye opened this issue 1 year ago • 2 comments

The following error message is displayed: image

fengcanluoye avatar Sep 01 '24 09:09 fengcanluoye

@echo off set pypath=home = %~dp0python set appdata=%~dp0tmp set userprofile=%~dp0tmp set temp=%~dp0tmp set PATH=%PATH%;ffmpeg;python\Lib\site-packages\torch\lib;models

set CUDA_MODULE_LOADING=LAZY set CUDA_PATH=python\Lib\site-packages\torch\lib

.\python\python.exe run.py --execution-provider cuda --execution-threads 60 --max-memory 60 pause

run this in .bat

jordanbardella avatar Sep 01 '24 11:09 jordanbardella

https://github.com/hacksider/Deep-Live-Cam/issues/509

NeuroDonu avatar Sep 01 '24 11:09 NeuroDonu

搞定了,哈哈,原来是你导入的人脸图片路径不能包含中文

robji15 avatar Oct 26 '24 16:10 robji15