Skip to content

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

@snuped

Description

@snuped

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions