Skip to content
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

Using a scheduler that works for pretrained dreambooth weights and default weights #61

Open
zeke opened this issue Dec 12, 2022 · 2 comments

Comments

@zeke
Copy link
Member

zeke commented Dec 12, 2022

We are in the process of consolidate the prediction from replicate/dreambooth-template into this repo, so the DreamBooth API will use the same predictor code that https://replicate.com/stability-ai/stable-diffusion uses, so all the nice features we add to the "canonical" model will become available to newly trained DreamBooth models.

From #59

The only other major difference between this and dreambooth-template is that it has a hardcoded scheduler:

    scheduler = DDIMScheduler(
        beta_start=0.00085,
        beta_end=0.012,
        beta_schedule="scaled_linear",
        clip_sample=False,
        set_alpha_to_one=False,
    )

The default scheduler seems to work - although I don't know if those "magic numbers" in the DDIMScheduler in dreambooth-template are to maximize the quality from the dreambooth generations?

@zeke
Copy link
Member Author

zeke commented Dec 12, 2022

@chenxwh I know you had a hand in writing the predictors for both of these models, so I'm guessing you might have some context on why the template repo is hardcoded to use DDIM. Is that necessary?

@zeke
Copy link
Member Author

zeke commented Jan 3, 2023

@anotherjesse did you end up working on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant