Closed luoxr18 closed 1 year ago
I also have this problem. Can you solve it?
Have you tried restart webui? If that not works, try to add some debug code to inspect is the facenet initialized correctly
edit sd-webui-controlnet/annotator/openpose/__init__.py
, line 204
self.face_estimation = Face(face_modelpath)
print(f'self.face_estimation={self.face_estimation}')
i updated my controlnet yesterday and its very good to use, thank you! but everytime i select openpose(face/faceonly/full) in preprocessor it wont work, show "AttributeError: 'NoneType' object has no attribute 'model'" is that a bug or i operate incorrectlly?(other preprocessor works well, and three pth files were saved in "extensions\sd-webui-controlnet\annotator\downloads\openpose")