-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Does RePaintPipeline work with Stable diffusion? #1213
Comments
Hi @FBehrad, The thing is you should supply repaint scheduler to the pipeline not LMSDescrete. In the pr #974 there was discussion about making repaint usable with all schedulers, but long story short for now it works only with DDIM and (because DDIM generalizes DDPM) DDPM. Take a look here https://github.com/huggingface/diffusers/blob/main/tests/pipelines/repaint/test_repaint.py |
cc @anton-l |
Thank you for your quick response. |
Gently ping @anton-l |
Incase anyone here is interested in the progress of this feature request, there is a community contribution PR going on right now, but still I believe we might need some help to figure out why it is not working as expected, any help would be appreciated : ) #1333 (comment) |
Hello,
First of all, thank you so much for adding RePaintPipeline. This pipeline works much better than stable diffusion inpainting when I use DDPMs (such as ddpm-ema-bedroom-256 and ddpm-bedroom-256) . However, when I use CompVis/stable-diffusion-v1-4, some bugs appear. For example, I get the following error:
TypeError: set_timesteps() takes from 2 to 3 positional arguments but 5 were given
I wonder is it possible to use stable diffusion as its generator?
Here, is my code:
The text was updated successfully, but these errors were encountered: