-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
diffusers DDIM gives worst results than Deforum DDIM #557
Labels
bug
Something isn't working
Comments
Hi @AbdullahAlfaraj! Because each diffusion model is trained using a specific noise schedule, the default parameters for scheduler = DDIMScheduler(beta_start=0.00085, beta_end=0.012, beta_schedule="scaled_linear", clip_sample=False, set_alpha_to_one=False)
pipe = StableDiffusionPipeline.from_pretrained(
"CompVis/stable-diffusion-v1-4",
scheduler=scheduler,
use_auth_token=True
).to("cuda") |
thanks @anton-l , that seems to solve it. |
PhaneeshB
pushed a commit
to nod-ai/diffusers
that referenced
this issue
Mar 1, 2023
* find gsutil on linux * cleaned up downloader and ditched gsutil Co-authored-by: dan <dan@nod-labs.com>
PhaneeshB
pushed a commit
to nod-ai/diffusers
that referenced
this issue
Mar 1, 2023
This reverts commit bba8646.
PhaneeshB
pushed a commit
to nod-ai/diffusers
that referenced
this issue
Mar 1, 2023
)" (huggingface#561) This reverts commit 3c46021.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
diffusers DDIM gives worst results than Deforum DDIM when using small inference steps of size 8.
My understanding is that ddim is a very fast sampler, and
should yield a decent result even at a low step size like 8 or 16.
it's possible that I didn't set up the scheduler correctly. So, I've included the code below.
as for the deforum code you could try it on colab: https://colab.research.google.com/github/deforum/stable-diffusion/blob/main/Deforum_Stable_Diffusion.ipynb
Also, I've tried it with both CPU and GPU. it yields the same results.
Reproduction
diffusers image outputs with scheduler set to ddim and steps = 8 :
Deforum with DDIM scheduler with steps = 8 :
Logs
No response
System Info
diffusers
version: 0.4.0.dev0The text was updated successfully, but these errors were encountered: