-
Notifications
You must be signed in to change notification settings - Fork 120
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
Unsatisfactory result. #23
Comments
Hi @GuHuangAI , Could you please provide a detailed example code for using DPM-Solver? (e.g. which algorithm and which hyperparameters) |
Thanks to your reply. Since my work is used for industrial projects. I'm sorry that i can not share my code. |
Hi @GuHuangAI , Thank you for the detailed settings! In my opinion, the mask-conditioned diffusion model is the classical "inpainting" problem in diffusion models. The traditional way for solving such problem is to use masked input at each guided sampling procedure. Here is an example for implementing inpainting: https://github.com/LuChengTHU/dpm-solver/blob/main/example_v2/stable-diffusion/scripts/diffedit_inpaint.ipynb However, a key for implementing inpainting is that we do not use t_start=1.0 as the starting time. Instead, we often use something like In addition, I have another question: does your model use a continuous cosine schedule? If not, please use "discrete" schedule and provide the |
@LuChengTHU , Thanks for your suggestions. I have tried a lot of combinations of superparametes, unfortunately,they all failed. Maybe my model is so sensitive that it can only satisfy with much steps. (-. -) |
Hi @GuHuangAI , Have you tried the original DDIM? Can it provide clean samples? If it can not provide clean samples either, then maybe it is related to your sensitive model. Please follow this instruction to check whether dpmsolver is suitable for your model: https://github.com/LuChengTHU/dpm-solver#suggestions-for-choosing-the-hyperparameters |
I have the same problem and I did not get clean pictures by using DDIM in guided-diffusion. what is the reason why the DDIM or dpm does not work? |
I have trained a 1000-step diffusion model, and get fine results using 1000-step reverse process.
This is the original imgs (the two are concatenated):
and this is the generated imgs:
However, when using dpm_solver, i get unsatisfactory or even worse results.
Here is the 20-step img:
100-step:
What happended and what should i do ?
The text was updated successfully, but these errors were encountered: