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
AUTOMATIC1111
22e23dbf29
add hypertile infotext
2023-12-04 15:56:03 +03:00
AUTOMATIC1111
883d6a2b34
repair old handler for postprocessing API in a way that doesn't break interface
2023-12-04 13:11:00 +03:00
AUTOMATIC1111
15322e1b1a
repair old handler for postprocessing API
2023-12-04 12:36:41 +03: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
AUTOMATIC1111
48fae7ccdc
update changelog
2023-12-04 09:35:52 +03:00
AUTOMATIC1111
9e1f3feb12
make webui not crash when running with --disable-all-extensions option
2023-12-04 09:15:19 +03:00
AUTOMATIC1111
208760f348
Merge pull request #14192 from illtellyoulater/patch-1
...
Update launch_utils.py - fixes repetead package reinstalls
2023-12-04 08:14:40 +03:00
missionfloyd
06725af40b
Lint
2023-12-03 21:26:12 -07:00
illtellyoulater
639ccf254b
Update launch_utils.py to fix wrong dep. checks and reinstalls
...
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
2023-12-04 02:35:35 +00: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
AUTOMATIC1111
334298d473
Merge pull request #14186 from akx/torchvision-basicsr-hack
...
Add import_hook hack to work around basicsr/torchvision incompatibility
2023-12-03 19:58:53 +03:00
AUTOMATIC1111
2d5507fce5
Merge pull request #14181 from AUTOMATIC1111/rework-mask-and-mask_composite-logic
...
slight optimization for mask and mask_composite
2023-12-03 19:58:14 +03:00
Aarni Koskela
d92ce145bb
Add import_hook hack to work around basicsr incompatibility
...
Fixes #13985
2023-12-03 16:55:38 +02:00
w-e-w
d3fdc4af61
rework mask and mask_composite logic
2023-12-03 18:22:41 +09:00
AUTOMATIC1111
b4776ea3a2
Merge pull request #14177 from catboxanon/fix/mask-composite-save
...
Fix `save_samples` being checked early when saving masked composite
2023-12-03 11:57:14 +03: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
AUTOMATIC1111
fed5b1d55c
Merge pull request #14178 from catboxanon/fix/missing-setting-v1
...
Re-add `keyedit_delimiters_whitespace` setting lost as part of commit e294e46
2023-12-03 06:33:16 +03:00
CodeHatchling
609dea36ea
Added utility functions related to processing masks.
2023-12-02 18:56:49 -07:00
catboxanon
9528d66c94
Re-add setting lost as part of e294e46
2023-12-02 14:56:26 -05:00
catboxanon
83e8c32276
Fix save_samples
being checked early when saving masked composite
2023-12-02 13:30:53 -05:00
AUTOMATIC1111
ac02216e54
alternate implementation for unet forward replacement that does not depend on hijack being applied
2023-12-02 19:35:47 +03:00
AUTOMATIC1111
af5f0734c9
Merge pull request #14171 from Nuullll/ipex
...
Initial IPEX support for Intel Arc GPU
2023-12-02 19:22:32 +03:00
AUTOMATIC1111
a5f61aa8c5
potential fix for #14172
2023-12-02 18:03:34 +03:00
AUTOMATIC1111
11d23e8ca5
remove Train/Preprocessing tab and put all its functionality into extras batch images mode
2023-12-02 18:01:11 +03:00
Nuullll
96871e4f74
Remove webui-ipex-user.bat
2023-12-02 17:11:31 +08:00
AUTOMATIC1111
4a666381bf
extras tab batch: actually use original filename
...
preprocessing upscale: do not do an extra upscale step if it's not needed
2023-12-02 12:11:21 +03:00
Nuullll
87cd07b3af
Fix fp64
2023-12-02 15:54:25 +08:00
AUTOMATIC1111
0bb6e00ba3
Merge pull request #13957 from h43lb1t0/extra_network_subdirs
...
dir buttons start with / so only the correct dir will be shown and no…
2023-12-02 09:59:29 +03:00
AUTOMATIC1111
87d973e389
Merge pull request #14063 from wfjsw/use-ext-name-for-installed
...
use extension name for determining an extension is installed in the index
2023-12-02 09:58:44 +03:00
AUTOMATIC1111
ef6b8123dc
put code that can cause an exception into its own function for #14120
2023-12-02 09:57:39 +03:00
AUTOMATIC1111
5ed7daa3d9
Merge pull request #14120 from AUTOMATIC1111/protect-against-bad-ui-creation-scripts
...
catch uncaught exception with ui creation scripts
2023-12-02 09:54:21 +03:00