-
Notifications
You must be signed in to change notification settings - Fork 6
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
Compatibility with Playground v2.5 #5
Comments
Is the output image the result of simply using the model or does the P2P
method cause this issue?
…On Tue, 9 Jul 2024 at 09:15, edixiong ***@***.***> wrote:
Thanks for the great repo. I am working on integrating this pipeline with
Playground v2.5 (
https://huggingface.co/playgroundai/playground-v2.5-1024px-aesthetic),
which appears to use the same pipeline as SDXL (StableDiffusionXLPipeline).
Directly loading the model using .from_pretrained will not cause error
but the output image has some artifact (of being gray). Do you have any
clue on what modification need to be done here?
download-11.png (view on web)
<https://github.com/RoyiRa/prompt-to-prompt-with-sdxl/assets/60495766/547c6cc1-13da-410b-8aee-a72108acc89b>
—
Reply to this email directly, view it on GitHub
<#5>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJBEBF7PL56HHQWHNRLZZJLZLN5WPAVCNFSM6AAAAABKSE37MOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TOMRTHEZDANQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hi Roy, Thanks for the reply. The output image is the result of p2p pipeline. Using the pipeline for normal generation works fine However, with the P2P pipeline(https://github.com/RoyiRa/prompt-to-prompt-with-sdxl/blob/main/prompt_to_prompt_pipeline.py), the output image is being gray. For example with the following code:
The output image is being gray, like the one I shared before. The normal SDXL pipeline will produce normal image like below: |
I didn't come across it when I worked on the pipeline, but my intuition is that it is related to the VAE and maybe the use of float16. Did you try looking at these? |
Thanks for your suggestion. However I don't think it's VAE or float16 causing the issue. The VAE is loaded correctly (AutoencoderKL) and the normal pipeline also uses float16. The code that uses the normal pipeline to create the normal image is
and it uses float16 as well. |
Thanks for the great repo. I am working on integrating this pipeline with Playground v2.5 (https://huggingface.co/playgroundai/playground-v2.5-1024px-aesthetic), which appears to use the same pipeline as SDXL (StableDiffusionXLPipeline). Directly loading the model using
.from_pretrained
will not cause error but the output image has some artifact (of being gray). Do you have any clue on what modification need to be done here?The text was updated successfully, but these errors were encountered: