Skip to content

How to implement cross_attention_kwargs in StableDiffusionImg2ImgPipeline? #2884

@youyuge34

Description

@youyuge34

How to implement cross_attention_kwargs in StableDiffusionImg2ImgPipeline?

I want to use lora weight with parameter cross_attention_kwargs in Img2img pipeline, but the cross_attention_kwargs has not implemented in StableDiffusionImg2ImgPipeline. Is there another way to get the same effect?

The error message is :

stable_diffusion/pipeline_stable_diffusion_img2img.py 
line 642 got an unexpected keyword argument `cross_attention_kwargs`

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssues that haven't received updates

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions