Skip to content

Fix demofusion #6049

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

Merged
merged 2 commits into from
Dec 5, 2023
Merged

Fix demofusion #6049

merged 2 commits into from
Dec 5, 2023

Conversation

radames
Copy link
Contributor

@radames radames commented Dec 4, 2023

fix import on community pipeline #6022

cc @RuoyiDu

Before submitting

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@radames
Copy link
Contributor Author

radames commented Dec 4, 2023

also @RuoyiDu , could we have an option input image your pipeline?since you mention on the paper one could skip stage 1 and input the image for upscaling purposes.

@RuoyiDu
Copy link
Contributor

RuoyiDu commented Dec 5, 2023

Thanks @radames! I'm just wondering why I can't load it as the custom pipeline.

As for using images as input, as we discussed in the paper, we were not that satisfied with the results in this regard. We only presented it as a potential application. The primary focus of DemoFusion is still to achieve high-resolution text2img generation. If there is interest in this aspect, I would consider organizing the code for this part and updating the pipeline accordingly.

@radames
Copy link
Contributor Author

radames commented Dec 5, 2023

hi @RuoyiDu , yes now it works! thanks for your contribution.
I manage to run some tests with input image and it's quite fun! I think it could be an interesting demo. Would you mind if we build a demo? We can highlight the strengths and weaknesses you've presented on the paper.
On my quick experiment, i'm having a hard time input latents without the 1024x1024 shape, however I know it might be possible to upscale images with lower resolution but ~64,

super.mp4

Copy link
Member

@sayakpaul sayakpaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a mile!

@sayakpaul sayakpaul merged commit eacf5e3 into main Dec 5, 2023
@sayakpaul sayakpaul deleted the fix-demofusion branch December 5, 2023 12:41
donhardman pushed a commit to donhardman/diffusers that referenced this pull request Dec 18, 2023
* Update pipeline_demofusion_sdxl.py

* Update README.md
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
* Update pipeline_demofusion_sdxl.py

* Update README.md
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

Successfully merging this pull request may close these issues.

3 participants