diffusers
Adding 'strength' parameter to StableDiffusionInpaintingPipeline
#3424
Merged

Adding 'strength' parameter to StableDiffusionInpaintingPipeline #3424

rupertmenneer
Added explanation of 'strength' parameter
e4d82f27
Added get_timesteps function which relies on new strength parameter
a0a04b80
Added `strength` parameter which defaults to 1.
43fce936
Swapped ordering so `noise_timestep` can be calculated before masking…
41760471
Added strength to check_inputs, throws error if out of range
db47974b
Changed `prepare_latents` to initialise latents w.r.t strength
81660d08
WIP: Added a unit test for the new strength parameter in the StableDi…
73b2d208
Created a is_strength_max to initialise from pure random noise
d900fb83
Updated unit tests w.r.t new strength parameter + fixed new strength …
4fe9a262
renamed parameter to avoid confusion with variable of same name
8aa9489a
Updated regression values for new strength test - now passes
cd3101bd
removed 'copied from' comment as this method is now different and div…
aca884f9
HuggingFaceDocBuilderDev
patrickvonplaten
patrickvonplaten commented on 2023-05-16
patrickvonplaten
patrickvonplaten commented on 2023-05-16
patrickvonplaten
patrickvonplaten commented on 2023-05-16
patrickvonplaten
patrickvonplaten commented on 2023-05-16
patrickvonplaten
patrickvonplaten commented on 2023-05-16
patrickvonplaten
patrickvonplaten commented on 2023-05-16
rupertmenneer Update src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffu…
f245d6e6
Ensure backwards compatibility for prepare_mask_and_masked_image
60c1a357
Ensure backwards compatibility for prepare_latents
b0f874b6
Fixed copy check typo
46583cc2
Fixes w.r.t backward compibility changes
c14ecc69
rupertmenneer
rupertmenneer rupertmenneer closed this 2 years ago
rupertmenneer rupertmenneer reopened this 2 years ago
HuggingFaceDocBuilderDev
williamberman make style
dc65be6b
williamberman Merge branch 'main' into add_strength_param_to_inpainting_pipeline
13f7c94a
williamberman keep function argument ordering same for backwards compatibility in c…
26f0c2e6
williamberman make fix-copies
934974ab
williamberman
williamberman approved these changes on 2023-05-17
sayakpaul
sayakpaul approved these changes on 2023-05-17
patrickvonplaten
patrickvonplaten approved these changes on 2023-05-17
patrickvonplaten patrickvonplaten merged c09c4f3a into main 2 years ago
rupertmenneer
rupertmenneer rupertmenneer deleted the add_strength_param_to_inpainting_pipeline branch 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone