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

seems unable to accurately reproduce the style of the reference image? #4

Open
akk-123 opened this issue Apr 7, 2024 · 5 comments

Comments

@akk-123
Copy link

akk-123 commented Apr 7, 2024

can you support deadiff with diffusers?

@akk-123
Copy link
Author

akk-123 commented Apr 7, 2024

what's more, deadiff seems unable to accurately reproduce the style of the reference image, I test with app.py

Input image:
4
generate image: (prompt: a man, portrait)
image

input image:
3
generate image:
image

@longmans
Copy link

what's more, deadiff seems unable to accurately reproduce the style of the reference image, I test with app.py

Input image: 4 generate image: (prompt: a man, portrait) image

input image: 3 generate image: image

The same, still can't reproduce the result.

@akk-123 akk-123 changed the title support deadiff with diffusers seems unable to accurately reproduce the style of the reference image? Apr 10, 2024
@zhang2002forwin
Copy link

Hello, is there a problem in ldm/modules/new_attention.py?In picture, self.atten2 function doesn't have the 'img_weight'. How do you solve this problem? Thanks a lot!!! I have tried to remove the parm 'img_weight', and then there is another problem in CrossAttention's forward function.
Snipaste

@Tianhao-Qi
Copy link
Collaborator

Hello, is there a problem in ldm/modules/new_attention.py?In picture, self.atten2 function doesn't have the 'img_weight'. How do you solve this problem? Thanks a lot!!! I have tried to remove the parm 'img_weight', and then there is another problem in CrossAttention's forward function. Snipaste

This issue may stem from that you've not correctly installed xformers, so the computation of joint text-image cross attention layer will run into trouble. Therefore, please carefully check the package xformers.

@zhang2002forwin
Copy link

Thanks!! Your work is so fantastic!

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

4 participants