AttributeError: 'NoneType' object has no attribute 'reshape' #576
-
runfile('D:/pythoncode/CV/deepfakes/Deep-Live-Cam/new_model/run.py', wdir='D:/pythoncode/CV/deepfakes/Deep-Live-Cam/new_model') I have strictly followed the steps in the readme, but I keep getting the same error every time. What exactly is the problem in which part? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
change the source image |
Beta Was this translation helpful? Give feedback.
-
Make sure that source_face is correctly initialized and that normed_embedding is properly assigned before executing this block of code. Check that the input data and model loading procedures are working correctly to avoid None values.
|
Beta Was this translation helpful? Give feedback.
-
因为没有成功加载w600k_r50.onnx模型导致的,请下载这个模型放到 HOME.insightface\models\buffalo_l\目录中。 |
Beta Was this translation helpful? Give feedback.
因为没有成功加载w600k_r50.onnx模型导致的,请下载这个模型放到 HOME.insightface\models\buffalo_l\目录中。