-
Notifications
You must be signed in to change notification settings - Fork 6k
Documentation about superresolution #9566
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
Comments
Hi, thanks for reporting, since you found the errors, are you interested in opening a PR to fix it? cc @stevhliu |
The process of PR is a bit heavy. I have to do it with a fork. But I already have a fork that I use for something else, I commited on the main branch of my fork... Github doesn't allow me to create multiple fork, or to create PR from something else than a fork. Sorry |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
Can I please contribute to this issue? cc: @asomoza |
Feel free to take this up! 👍 |
Describe the bug
Reading this documentation which is not possible.
Indeed, super resolution pipeline works with an image as input in the image input parameter.
So it's not possible to use
output_type="latent"
for image_2.Otherwise you'll get an error :
ValueError: Incorrect configuration settings! The config of
pipeline.unet
expects 7 but receivednum_channels_latents
: 4 +num_channels_image
: 4 = 8. Please verify the config ofpipeline.unet
or yourimage
input.Because it's placing a latent instead of an image.
Please also note that
"variant="fp16"
does not work for stabilityai/sd-x2-latent-upscaler" for me. The error message I get is :Reproduction
simple snippet of code
Logs
No response
System Info
ubuntu
Who can help?
@yiyixuxu @asomoza
The text was updated successfully, but these errors were encountered: