mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
improve outcropping performance
- applied inpainting parameters recommended by @kyle0654 - results are aesthetically pleasing - Closes #1319
This commit is contained in:
parent
ce7651944d
commit
59ef2471e1
@ -34,3 +34,10 @@ waifu-diffusion-1.3:
|
||||
width: 512
|
||||
height: 512
|
||||
vae: ./models/ldm/stable-diffusion-v1/vae-ft-mse-840000-ema-pruned.ckpt
|
||||
smirking-face-1.0:
|
||||
description: Stable Diffusion 1.4 fine tuned on human figures (4.27)
|
||||
weights: ./models/ldm/stable-diffusion-v1/SF_EB_1.0_ema_vae.ckpt
|
||||
config: ./configs/stable-diffusion/v1-inference.yaml
|
||||
width: 512
|
||||
height: 512
|
||||
vae: ./models/ldm/stable-diffusion-v1/vae-ft-mse-840000-ema-pruned.ckpt
|
||||
|
@ -32,7 +32,7 @@ class Outcrop(object):
|
||||
|
||||
result= self.generate.prompt2image(
|
||||
orig_opt.prompt,
|
||||
# seed = orig_opt.seed, # uncomment to make it deterministic
|
||||
seed = orig_opt.seed, # uncomment to make it deterministic
|
||||
sampler = self.generate.sampler,
|
||||
steps = opt.steps,
|
||||
cfg_scale = opt.cfg_scale,
|
||||
@ -40,10 +40,14 @@ class Outcrop(object):
|
||||
width = extended_image.width,
|
||||
height = extended_image.height,
|
||||
init_img = extended_image,
|
||||
strength = opt.strength,
|
||||
strength = 0.99,
|
||||
image_callback = wrapped_callback,
|
||||
seam_size = 32,
|
||||
seam_blur = 10,
|
||||
seam_size = opt.seam_size or 96,
|
||||
seam_blur = opt.seam_blur or 16,
|
||||
seam_strength = opt.seam_strength or 0.7,
|
||||
seam_steps = 20,
|
||||
tile_size = 32,
|
||||
color_match = True,
|
||||
force_outpaint = True, # this just stops the warning about erased regions
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user