Skip to content

BUG: ControlNetModel2.forward() got an unexpected keyword argument 'added_cond_kwargs' #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
snuped opened this issue Apr 1, 2025 · 0 comments

Comments

@snuped
Copy link

snuped commented Apr 1, 2025

Any idea what is causing this? I can't see 'added_cond_kwargs' anywhere in the debugger.

Message=ControlNetModel2.forward() got an unexpected keyword argument 'added_cond_kwargs'
Source=D:\DIFFTEST\EditAnything\utils\stable_diffusion_controlnet_inpaint.py
StackTrace:
File "D:\DIFFTEST\EditAnything\utils\stable_diffusion_controlnet_inpaint.py", line 1601, in call (Current frame)
down_block_res_samples, mid_block_res_sample = self.controlnet(
^^^^^^^^^^^^^^^^
File "D:\DIFFTEST\EditAnything\editany_lora.py", line 857, in process
x_samples = self.pipe(
File "D:\DIFFTEST\EditAnything\annotator\util.py", line 86, in wrapper
result = func(self, *args, **kwargs)
TypeError: ControlNetModel2.forward() got an unexpected keyword argument 'added_cond_kwargs'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant