aboutsummaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #14208 from CodeHatchling/soft-inpaintingAUTOMATIC11112023-12-144-27/+157
|\ | | | | Soft Inpainting
| * Fixed error that occurs when using vanilla samplers (somehow).CodeHatchling2023-12-071-2/+2
| |
| * Moved image filters used by soft inpainting into soft_inpainting.py from ↵CodeHatchling2023-12-071-190/+0
| | | | | | | | images.py
| * Re-implemented soft inpainting via a script. Also fixed some mistakes with ↵CodeHatchling2023-12-073-323/+12
| | | | | | | | the previous hooks, removed unnecessary formatting changes, removed code that I had forgotten to.
| * Removed soft inpainting, added hooks for softpainting to work instead.CodeHatchling2023-12-073-69/+118
| |
| * Removed changes in some scripts since the arguments for soft painting are no ↵CodeHatchling2023-12-072-56/+1
| | | | | | | | longer passed through the same path as "mask_blur".
| * A custom blending function can be provided by p, replacing the use of ↵CodeHatchling2023-12-072-18/+17
| | | | | | | | soft_inpainting.
| * Merge remote-tracking branch 'origin2/dev' into soft-inpaintingCodeHatchling2023-12-0531-633/+749
| |\ | | | | | | | | | | | | # Conflicts: # modules/processing.py
| * | Fixed unused import.CodeHatchling2023-12-051-1/+1
| | |
| * | Fixed issue where batched inpainting (batch size > 1) wouldn't work because ↵CodeHatchling2023-12-052-18/+71
| | | | | | | | | | | | of mismatched tensor sizes. The 'already_decoded' decoded case should also be handled correctly (tested indirectly).
| * | Applies a convert('RGBA') operation early to mimic previous behaviour.CodeHatchling2023-12-051-1/+1
| | |
| * | Restored original formatting.CodeHatchling2023-12-051-25/+11
| | |
| * | Re-introduce latent blending step from the vanilla inpainting procedure.CodeHatchling2023-12-051-0/+3
| | |
| * | Fixed issue with whitespace, removed commented out code that was meant to be ↵CodeHatchling2023-12-041-14/+6
| | | | | | | | | | | | used as a reference.
| * | Cleaned up code, moved main code contributions into soft_inpainting.pyCodeHatchling2023-12-044-150/+174
| | |
| * | Enables the original functionality to be toggled on and off.CodeHatchling2023-12-041-29/+70
| | |
| * | Organized the settings and UI of soft inpainting to allow for toggling the ↵CodeHatchling2023-12-046-29/+179
| | | | | | | | | | | | feature, and centralizes default values to reduce the amount of copy-pasta.
| * | "Uncrop" the original denoised image for the composite step, fixing a ↵CodeHatchling2023-12-031-0/+4
| | | | | | | | | | | | "ValueError: Images do not match" *shudder*
| * | Fixed a math mistake.CodeHatchling2023-12-031-1/+1
| | |
| * | Merge remote-tracking branch 'origin/dev' into soft-inpaintingCodeHatchling2023-12-0358-516/+1293
| |\ \ | | | | | | | | | | | | | | | | # Conflicts: # modules/processing.py
| * | | Rewrote latent_blend() to use in-place operations and to aggressively "del" ↵CodeHatchling2023-12-031-13/+28
| | | | | | | | | | | | | | | | references with the intention of minimizing allocations and easing garbage collection.
| * | | Blend masks are now produced afterward, based on an estimate of the visual ↵CodeHatchling2023-12-031-29/+90
| | | | | | | | | | | | | | | | 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.
| * | | Added utility functions related to processing masks.CodeHatchling2023-12-031-0/+191
| | | |
| * | | Tweaked default values.CodeHatchling2023-11-292-4/+4
| | | |
| * | | Tweaked UI sliders and labels.CodeHatchling2023-11-292-4/+4
| | | |
| * | | Added slider for detail preservation strength, removed largely needless ↵CodeHatchling2023-11-295-20/+19
| | | | | | | | | | | | | | | | offset parameter, changed labels in UI and for saving to/pasting data from PNG files.
| * | | Added UI elements to control blending parameters.CodeHatchling2023-11-284-1/+62
| | | |
| * | | Nerfs the aggressive post-processing step of overlaying the original image.CodeHatchling2023-11-281-3/+11
| | | |
| * | | Implements "scheduling" for blending of the original latents and a latent ↵CodeHatchling2023-11-281-2/+59
| | | | | | | | | | | | | | | | blending formula that preserves details in blend transition areas.
| * | | Removed conflicting step that replaces the softly inpainted latents with a ↵CodeHatchling2023-11-281-3/+0
| | | | | | | | | | | | | | | | naive blend with the original latents.
| * | | Removed code which forces the inpainting mask to be 0 or 1. Now fractional ↵CodeHatchling2023-11-281-5/+1
| | | | | | | | | | | | | | | | values (e.g. 0.5) are accepted.
* | | | Merge pull request #14229 from Nuullll/ipex-embeddingAUTOMATIC11112023-12-141-0/+9
|\ \ \ \ | | | | | | | | | | [IPEX] Fix embedding and ControlNet
| * | | | Fix formatNuullll2023-12-091-1/+1
| | | | |
| * | | | Fix ControlNetNuullll2023-12-091-0/+6
| | | | |
| * | | | [IPEX] Fix embeddingNuullll2023-12-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cast `torch.bmm` args into same `dtype`. Fixes the following error when using Text Inversion embedding (#14224): ``` RuntimeError: could not create a primitive descriptor for a matmul primitive ```
* | | | | Merge pull request #14266 from kaalibro/devAUTOMATIC11112023-12-141-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Re-add setting lost as part of e294e46
| * | | | | Re-add setting lost as part of e294e46kaalibro2023-12-091-0/+1
| |/ / / /
* | | | | fix styles.csv filenamew-e-w2023-12-101-4/+2
| | | | |
* | | | | fix save stylesw-e-w2023-12-101-20/+5
|/ / / /
* | | / remove clean_text()w-e-w2023-12-041-20/+3
| |_|/ |/| |
* | | repair old handler for postprocessing API in a way that doesn't break interfaceAUTOMATIC11112023-12-042-3/+7
| | |
* | | repair old handler for postprocessing APIAUTOMATIC11112023-12-041-1/+1
| | |
* | | make webui not crash when running with --disable-all-extensions optionAUTOMATIC11112023-12-041-1/+6
| | |
* | | Merge pull request #14192 from illtellyoulater/patch-1AUTOMATIC11112023-12-041-4/+10
|\ \ \ | | | | | | | | Update launch_utils.py - fixes repetead package reinstalls
| * | | Lintmissionfloyd2023-12-041-3/+3
| | | |
| * | | Update launch_utils.py to fix wrong dep. checks and reinstallsilltellyoulater2023-12-041-4/+10
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes failing dependency checks for extensions having a different package name and import name (for example ffmpeg-python / ffmpeg), which currently is causing the unneeded reinstall of packages at runtime. In fact with current code, the same string is used when installing a package and when checking for its presence, as you can see in the following example: > launch_utils.run_pip("install ffmpeg-python", "required package") [ Installing required package: "ffmpeg-python" ... ] [ Installed ] > launch_utils.is_installed("ffmpeg-python") False ... which would actually return true with: > launch_utils.is_installed("ffmpeg") True
* | | Merge pull request #14186 from akx/torchvision-basicsr-hackAUTOMATIC11112023-12-031-0/+11
|\ \ \ | | | | | | | | Add import_hook hack to work around basicsr/torchvision incompatibility
| * | | Add import_hook hack to work around basicsr incompatibilityAarni Koskela2023-12-031-0/+11
| | | | | | | | | | | | | | | | Fixes #13985
* | | | rework mask and mask_composite logicw-e-w2023-12-031-15/+14
|/ / /
* | | Merge pull request #14177 from catboxanon/fix/mask-composite-saveAUTOMATIC11112023-12-031-3/+3
|\ \ \ | | | | | | | | Fix `save_samples` being checked early when saving masked composite