diffusers
Adding 'strength' parameter to StableDiffusionInpaintingPipeline
#3424
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
21
Changes
View On
GitHub
Adding 'strength' parameter to StableDiffusionInpaintingPipeline
#3424
patrickvonplaten
merged 21 commits into
huggingface:main
from
rupertmenneer:add_strength_param_to_inpainting_pipeline
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
patrickvonplaten
commented on 2023-05-16
patrickvonplaten
commented on 2023-05-16
patrickvonplaten
commented on 2023-05-16
patrickvonplaten
commented on 2023-05-16
patrickvonplaten
commented on 2023-05-16
patrickvonplaten
commented on 2023-05-16
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
closed this
2 years ago
rupertmenneer
reopened this
2 years ago
make style
dc65be6b
Merge branch 'main' into add_strength_param_to_inpainting_pipeline
13f7c94a
keep function argument ordering same for backwards compatibility in c…
26f0c2e6
make fix-copies
934974ab
williamberman
approved these changes on 2023-05-17
sayakpaul
approved these changes on 2023-05-17
patrickvonplaten
approved these changes on 2023-05-17
patrickvonplaten
merged
c09c4f3a
into main
2 years ago
rupertmenneer
deleted the add_strength_param_to_inpainting_pipeline branch
2 years ago
Login to write a write a comment.
Login via GitHub
Reviewers
sayakpaul
patrickvonplaten
williamberman
Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Login to write a write a comment.
Login via GitHub