lllyasviel / lllyasviel/ControlNet

openpose not working after installing ControlNet 1.119

Open
#387 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
34.1k
Forks
3k
PR merge metrics
No merged PRs in 30d

Description

when setting preprocessor to openpose and model to control_v11p_sd15_openpose appears this error:

Loading model from cache: control_v11p_sd15_openpose [cab727d4]
Loading preprocessor: openpose
preprocessor resolution = 512
Error running process: E:\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py
Traceback (most recent call last):
File "E:\AI\stable-diffusion-webui\modules\scripts.py", line 417, in process
script.process(p, *script_args)
File "E:\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1223, in process
detected_map, is_image = preprocessor(input_image, res=preprocessor_resolution, thr_a=unit.threshold_a, thr_b=unit.threshold_b)
File "E:\AI\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\processor.py", line 211, in run_model
return self.model_openpose(
TypeError: OpenposeDetector.__call__() got an unexpected keyword argument 'json_pose_callback'

I've tried to find existing problem with this but failed to. Rest of the models seems to work fine.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with the openpose preprocessor and control_v11p_sd15_openpose model. Start with scripts/controlnet.py and scripts/processor.py, then inspect the OpenposeDetector call referenced by the traceback; done means the openpose workflow completes without the unexpected json_pose_callback error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.