huggingface / huggingface/controlnet_aux
Overload resolution failed
- Dominant language
- Python
- Stars
- 497
- Forks
- 104
- PR merge metrics
- No merged PRs in 30d
Description
No matter what I've tried, openpose not working. Other control nets working but not pose.
```
Traceback (most recent call last):
File "/opt/ckpt/handler.py", line 221, in
result = handler({
File "/opt/ckpt/handler.py", line 165, in handler
output = get_stable_diffusion_pipeline(
File "/opt/ckpt/handler.py", line 85, in get_stable_diffusion_pipeline
image = openpose(image)
File "/opt/conda/lib/python3.10/site-packages/controlnet_aux/open_pose/__init__.py", line 51, in __call__
candidate, subset = self.body_estimation(input_image)
File "/opt/conda/lib/python3.10/site-packages/controlnet_aux/open_pose/body.py", line 52, in __call__
heatmap = cv2.resize(heatmap, (0, 0), fx=stride, fy=stride, interpolation=cv2.INTER_CUBIC)
cv2.error: OpenCV(4.7.0) :-1: error: (-5:Bad argument) in function 'resize'
> Overload resolution failed:
> - src data type = 23 is not supported
> - Expected Ptr for argument 'src'
```

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.