How do I pass "strength"/"denoising" and "sampler"/"scheduler" to this model?

#25
by lakshman111 - opened

I don't think its currently possible, but I figured I'd check.

In Automatic1111, I was able to pass a "denoising" parameter. There is a "strength" parameter in the Diffusers docs (https://huggingface.co./docs/diffusers/v0.3.0/en/api/pipelines/stable_diffusion#diffusers.StableDiffusionInpaintPipeline.__call__), but when I use this model, I get an error that "strength" isn't recognized.

Simlarly, in Automatic1111, I was able to set "sampler" = "Euler A". In Diffusers: (https://huggingface.co./docs/diffusers/v0.3.0/en/api/pipelines/stable_diffusion#diffusers.StableDiffusionInpaintPipeline.__call__), it looks like the variable is called "scheduler", but I can't set it to "Euler A".

Anyone know how to pass "strength"/"denoising" and "sampler"/"scheduler" to this model?

I am facing the same situation. Reading through the Automatic1111 code, they are not use the huggingface pipeline. They have a lot of custom code to interfact with the models. Still searching for a simple solution.

@kevincolemaninc I ended up just using Diffusers to move forward.

It looks like the strength argument may be in a legacy pipeline: https://github.com/huggingface/diffusers/issues/992

Sign up or log in to comment