diff --git a/configs/models.yaml b/configs/models.yaml index aabe4b9ce2..ccc6c79ccf 100644 --- a/configs/models.yaml +++ b/configs/models.yaml @@ -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 diff --git a/ldm/invoke/restoration/outcrop.py b/ldm/invoke/restoration/outcrop.py index d9ce02ec0d..8bc913f9cf 100644 --- a/ldm/invoke/restoration/outcrop.py +++ b/ldm/invoke/restoration/outcrop.py @@ -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 )