Error related to openpose #481
Replies: 2 comments
-
The error message points to the annotator folder - so this is likely a problem with the annotator, the first step of the process where a normal picture is analyzed to estimate the pose of all the people on it and encode that in a colored-bones-over-black-background picture, and not the second step, where that colored-bones-over-black-background picture is interpreted by Stable Diffusion via either ControlNet or T2i (both now support Openpose). Can you check if it works by not using the annotator and feeding the ControlNet / T2i directly with a pre-processed image in the proper format, with colored bones over a black background ? And to help debug the annotator part, can you check what is in that |
Beta Was this translation helpful? Give feedback.
-
I change the code to be Then the problem fixed. |
Beta Was this translation helpful? Give feedback.
-
File "C:\Users\chris\stable-diffusion-webui-directml\extensions\sd-webui-controlnet\annotator\openpose\body.py", line 57, in call
heatmap = cv2.resize(heatmap, (0, 0), fx=stride, fy=stride, interpolation=cv2.INTER_CUBIC)
cv2.error: OpenCV(4.7.0) 👎 error: (-5:Bad argument) in function 'resize'
Is that the problem of using AMD GPU ?
Beta Was this translation helpful? Give feedback.
All reactions