Skip to content
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

KeyError: 'up_cross' #41

Closed
wangzhen-ing opened this issue Dec 9, 2023 · 2 comments
Closed

KeyError: 'up_cross' #41

wangzhen-ing opened this issue Dec 9, 2023 · 2 comments

Comments

@wangzhen-ing
Copy link

hello, thanks for your work.

recently, I ran this attend and excite code and This bug occurs, I don't know how to solve this.
"self.attention_store = {}"

I read the issues of prompt-to-prompt, and they say this issue is related to the version of diffusers. need to revise the code of register_attention_control to adapt to the new version of diffusers. but in your code, you have revised the code of register_attention_control and AttendExciteCrossAttnProcessor, so I don't know how to solve this problem

I am looking forward to your answer very much!

@hila-chefer
Copy link
Collaborator

hila-chefer commented Dec 13, 2023

Hi @wangzhen-ing, thanks for your interest!

I haven't seen this issue before it sounds like a package version issue, but since Attend-and-Excite is also supported in the official diffusers library you can always try running it from diffusers with their latest version and see if that helps solve the issue.

I hope this helps!

@wangzhen-ing
Copy link
Author

Hi @wangzhen-ing, thanks for your interest!

I haven't seen this issue before it sounds like a package version issue, but since the Attend-and-Excite is also supported in the official diffusers library you can always try running it from diffusers with their latest version and see if that helps solve the issue.

I hope this helps!

Thank you very much for your reply

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

2 participants