CodeHatchling
|
f1ff932caf
|
Formatted soft_inpainting.
|
2023-12-08 17:33:11 -07:00 |
|
CodeHatchling
|
b2414476ef
|
soft_inpainting now appears in the "inpaint" section, and will not activate unless inpainting is activated.
|
2023-12-08 17:32:41 -07:00 |
|
CodeHatchling
|
659f62e120
|
Fixed grammar error.
|
2023-12-07 21:39:54 -07:00 |
|
CodeHatchling
|
fc3e246c0f
|
Fixed complaint about whitespace, updated help section for a parameter.
|
2023-12-07 20:28:38 -07:00 |
|
CodeHatchling
|
f284ae23bc
|
Added parameters for the composite stage, fixed batched generation.
|
2023-12-07 20:19:35 -07:00 |
|
CodeHatchling
|
0ef4a4cb23
|
Fixed error that occurs when using vanilla samplers (somehow).
|
2023-12-07 14:54:26 -07:00 |
|
CodeHatchling
|
56604f08a1
|
Moved image filters used by soft inpainting into soft_inpainting.py from images.py
|
2023-12-07 14:53:44 -07:00 |
|
CodeHatchling
|
8dbacc7d01
|
Fixed "No newline at end of file".
|
2023-12-07 14:30:30 -07:00 |
|
CodeHatchling
|
2abc417834
|
Re-implemented soft inpainting via a script. Also fixed some mistakes with the previous hooks, removed unnecessary formatting changes, removed code that I had forgotten to.
|
2023-12-07 14:28:02 -07:00 |
|
CodeHatchling
|
ac45789123
|
Removed soft inpainting, added hooks for softpainting to work instead.
|
2023-12-06 21:16:27 -07:00 |
|
CodeHatchling
|
4608f6236f
|
Removed changes in some scripts since the arguments for soft painting are no longer passed through the same path as "mask_blur".
|
2023-12-06 18:11:17 -07:00 |
|
CodeHatchling
|
e90d4334ad
|
A custom blending function can be provided by p, replacing the use of soft_inpainting.
|
2023-12-06 18:02:07 -07:00 |
|
CodeHatchling
|
38864816fa
|
Merge remote-tracking branch 'origin2/dev' into soft-inpainting
# Conflicts:
# modules/processing.py
|
2023-12-04 20:38:13 -07:00 |
|
CodeHatchling
|
49bbf11407
|
Fixed unused import.
|
2023-12-04 19:47:40 -07:00 |
|
CodeHatchling
|
6fc12428e3
|
Fixed issue where batched inpainting (batch size > 1) wouldn't work because of mismatched tensor sizes. The 'already_decoded' decoded case should also be handled correctly (tested indirectly).
|
2023-12-04 19:42:59 -07:00 |
|
CodeHatchling
|
b32a334e3d
|
Applies a convert('RGBA') operation early to mimic previous behaviour.
|
2023-12-04 17:57:10 -07:00 |
|
CodeHatchling
|
60c602232f
|
Restored original formatting.
|
2023-12-04 17:55:14 -07:00 |
|
CodeHatchling
|
57f29bd61d
|
Re-introduce latent blending step from the vanilla inpainting procedure.
|
2023-12-04 17:41:18 -07:00 |
|
CodeHatchling
|
1455159cf4
|
Fixed issue with whitespace, removed commented out code that was meant to be used as a reference.
|
2023-12-04 16:43:57 -07:00 |
|
CodeHatchling
|
976c1053ef
|
Cleaned up code, moved main code contributions into soft_inpainting.py
|
2023-12-04 16:06:58 -07:00 |
|
CodeHatchling
|
259d33c3c8
|
Enables the original functionality to be toggled on and off.
|
2023-12-04 01:57:21 -07:00 |
|
CodeHatchling
|
aaacf48232
|
Organized the settings and UI of soft inpainting to allow for toggling the feature, and centralizes default values to reduce the amount of copy-pasta.
|
2023-12-04 01:27:22 -07:00 |
|
CodeHatchling
|
552f8bc832
|
"Uncrop" the original denoised image for the composite step, fixing a "ValueError: Images do not match" *shudder*
|
2023-12-03 14:49:41 -07:00 |
|
CodeHatchling
|
28a2b5b4aa
|
Fixed a math mistake.
|
2023-12-03 14:20:20 -07:00 |
|
CodeHatchling
|
3bd3a09160
|
Merge remote-tracking branch 'origin/dev' into soft-inpainting
# Conflicts:
# modules/processing.py
|
2023-12-02 21:14:02 -07:00 |
|
CodeHatchling
|
bb04d400c9
|
Rewrote latent_blend() to use in-place operations and to aggressively "del" references with the intention of minimizing allocations and easing garbage collection.
|
2023-12-02 21:08:26 -07:00 |
|
CodeHatchling
|
73ab982d1b
|
Blend masks are now produced afterward, based on an estimate of the visual difference between the original and modified latent images. This should remove ghosting and clipping artifacts from masks, while preserving the details of largely unchanged content.
|
2023-12-02 21:07:02 -07:00 |
|
CodeHatchling
|
609dea36ea
|
Added utility functions related to processing masks.
|
2023-12-02 18:56:49 -07:00 |
|
CodeHatchling
|
c7a1ff8720
|
Tweaked default values.
|
2023-11-28 23:31:10 -07:00 |
|
CodeHatchling
|
284fd8f415
|
Tweaked UI sliders and labels.
|
2023-11-28 23:03:50 -07:00 |
|
CodeHatchling
|
c5c7fa06aa
|
Added slider for detail preservation strength, removed largely needless offset parameter, changed labels in UI and for saving to/pasting data from PNG files.
|
2023-11-28 22:35:07 -07:00 |
|
CodeHatchling
|
debf836fcc
|
Added UI elements to control blending parameters.
|
2023-11-28 16:15:36 -07:00 |
|
CodeHatchling
|
a6e5846453
|
Nerfs the aggressive post-processing step of overlaying the original image.
|
2023-11-28 16:13:42 -07:00 |
|
CodeHatchling
|
e715e46b6a
|
Implements "scheduling" for blending of the original latents and a latent blending formula that preserves details in blend transition areas.
|
2023-11-28 16:10:22 -07:00 |
|
CodeHatchling
|
bbba133f05
|
Removed conflicting step that replaces the softly inpainted latents with a naive blend with the original latents.
|
2023-11-28 15:09:43 -07:00 |
|
CodeHatchling
|
dec791d35d
|
Removed code which forces the inpainting mask to be 0 or 1. Now fractional values (e.g. 0.5) are accepted.
|
2023-11-28 15:05:01 -07:00 |
|