vladmandic
6427b799e9
merge: modules/postprocess/yolo.py
2026-03-17 10:50:09 +01:00
vladmandic
de7959397c
fb merge phase 3
...
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-16 10:32:12 +01:00
vladmandic
6a9b9297c1
cleanup yolo
...
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-16 08:30:23 +01:00
vladmandic
9013ba7bf1
cleanup yolo
...
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-14 13:01:51 +01:00
vladmandic
2fb9e2115e
merge: modules/postprocess/yolo.py
2026-03-14 12:56:06 +01:00
Vladimir Mandic
47543663f9
cleanup references to p.sd_model
...
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-02-19 20:48:42 +01:00
Vladimir Mandic
f78f0eb4a5
refactor imports
2026-02-19 15:28:24 +01:00
Vladimir Mandic
216558185b
update installer usage
2026-02-19 12:21:46 +01:00
Vladimir Mandic
d65a2d1ebc
ruff lint
2026-02-19 11:13:44 +01:00
Vladimir Mandic
e5c494f999
cleanup logger
2026-02-19 11:09:13 +01:00
Vladimir Mandic
a3074baf8b
unified logger
2026-02-19 09:46:42 +01:00
Vladimir Mandic
bfe014f5da
modernize typing
2026-02-19 09:15:37 +01:00
Vladimir Mandic
6fdd3a53cf
reduce mandatory requirements
...
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-02-18 17:53:08 +01:00
Vladimir Mandic
d6bbfe3dc2
experimental python==3.14 support
...
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-02-17 22:08:36 +01:00
vladmandic
ccd3e2e489
cleanup settings
...
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-12 10:30:39 +01:00
vladmandic
da1cf2f996
refactor image methods
...
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-11 12:29:00 +01:00
vladmandic
1b4f94660f
cleanup
...
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-11 11:15:59 +01:00
Vladimir Mandic
41f206dec9
Merge pull request #4637 from CalamitousFelicitousness/refactor/remove-face-restoration
...
Refactor/remove face restoration
2026-02-11 11:12:34 +01:00
CalamitousFelicitousness
8563e2a853
refactor: restore codeformer_model.py to avoid merge conflicts
2026-02-11 09:59:55 +00:00
CalamitousFelicitousness
dc8ecb0a64
refactor: address remaining PR #4640 review comments
...
- Remove _get_device_dtype() indirection, inline device/dtype at call sites
- Remove commented-out fallback blocks and try/finally wrappers
- Add modules/sharpfin to ruff and pylint excludes in pyproject.toml
- Fix import ordering in joytag.py and pixelart.py
2026-02-11 09:57:37 +01:00
CalamitousFelicitousness
76aa949a26
refactor: integrate sharpfin for high-quality image resize
...
Vendor sharpfin library (Apache 2.0) and add centralized wrapper
module (images_sharpfin.py) replacing torchvision tensor/PIL
conversion and resize operations throughout the codebase.
- Add modules/sharpfin/ vendored library with MKS2021, Lanczos3,
Mitchell, Catmull-Rom kernels and optional Triton sparse acceleration
- Add modules/images_sharpfin.py wrapper with to_tensor(), to_pil(),
pil_to_tensor(), normalize(), resize(), resize_tensor()
- Add resize_quality and resize_linearize_srgb settings
- Add MKS2021 and Lanczos3 upscaler entries
- Replace torchvision.transforms.functional imports across 18 files
- to_pil() auto-detects HWC/BHWC layout, adds .round() before uint8
- Sparse Triton path falls back to dense GPU on compilation failure
- Mixed-axis resize splits into two single-axis scale() calls
- Masks and non-sRGB data always use linearize=False
2026-02-11 09:57:37 +01:00
CalamitousFelicitousness
356505cab2
refactor: remove ONNX face upscaler support from detailer
...
- Remove codeformer, restoreformer, GFPGANv1.4, and GPEN-BFR ONNX
model URLs from the predefined list
- Remove the .fp16 ONNX restorer code path that bypassed detailer
processing to run face restoration directly
2026-02-08 22:59:45 +00:00
CalamitousFelicitousness
1e23495039
refactor: delete CodeFormer, GFPGAN, and face restoration modules
...
Remove all vendored face restoration code that is no longer maintained:
- modules/postprocess/codeformer_model.py, codeformer_arch.py, vqgan_arch.py
- modules/postprocess/gfpgan_model.py, restorer.py
- modules/face_restoration.py (base class and dispatcher)
- scripts/postprocessing_codeformer.py, postprocessing_gfpgan.py
- modules/facelib/ (vendored face detection/parsing library)
These were the only two backends registered in shared.face_restorers,
making the entire face restoration infrastructure dead code.
2026-02-08 22:58:33 +00:00
vladmandic
9df9b84752
fix anima
...
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-05 16:55:06 +01:00
vladmandic
59654d68ea
add hqx and icb interpolations
...
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-05 11:21:17 +01:00
vladmandic
a4671045b6
lint and crlf
...
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-24 10:28:46 +01:00
vladmandic
0073fa55e3
fix detailer double save
...
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-22 19:38:37 +01:00
Vladimir Mandic
c1f9646eaa
Merge pull request #4541 from awsr/save-update
...
Update config saving
2026-01-11 13:05:29 +01:00
awsr
0faabffc14
Simplify options init/save/load
2026-01-10 13:27:38 -08:00
vladmandic
2cba0d8fe0
explictly disable hires for detailer pass
...
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-10 10:26:51 +01:00
vladmandic
3ec1f604d2
cleanup label
...
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-06 10:57:45 +01:00
vladmandic
dde91321b9
genai exception handling and lint all
...
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-22 20:29:50 +01:00
vladmandic
e2fb70d4a1
detailer draw segmentation overlays
...
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-17 10:03:17 +01:00
vladmandic
a7956d0c5c
detailer support for segmentation models and use of segmentation masks
...
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-16 22:51:52 +01:00
vladmandic
7bd04e0b5c
add /detailers api endpoint
...
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-06 12:33:52 +01:00
Disty0
91402c6e7c
update pixelart
2025-11-25 18:18:12 +03:00
vladmandic
246bfcb453
fix multi-detailer
...
Signed-off-by: vladmandic <mandic00@live.com>
2025-11-24 10:52:10 -05:00
Vladimir Mandic
a5c5635968
detailer validate if model is compatible
...
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-10 07:53:45 -05:00
Vladimir Mandic
c6593ac180
fix detailer with lora
...
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-09 09:14:26 -05:00
Vladimir Mandic
1c95960fb0
fix detailer with face-restorers
...
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-08 08:12:33 -05:00
Vladimir Mandic
db3f5ff01b
detailer expert mode enhance parsing
...
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-04 10:41:23 -05:00
Vladimir Mandic
dcdb8d3a29
merge detailer annotations
...
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-03 13:50:38 -05:00
Vladimir Mandic
f4400adb74
detailer improvements
...
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-01 21:38:48 -04:00
Vladimir Mandic
d43091f1fa
lint set minimum to py310 and update rules
...
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-29 11:28:09 -04:00
Vladimir Mandic
85a58ed5bf
seedvr enable quant
...
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-14 10:23:12 -04:00
Vladimir Mandic
f3b4ef2551
simplify seedvr depedencies
...
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-13 10:20:42 -04:00
Vladimir Mandic
32014fbb9d
seedvr requirements
...
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-13 10:04:01 -04:00
Vladimir Mandic
2e4e741d47
seedvt2
...
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-12 15:35:08 -04:00
Vladimir Mandic
eaa7dc119b
prototype seedvr
...
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-11 18:35:43 -04:00
Vladimir Mandic
0f7d2e95ca
fix state interrupted checks
...
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-14 13:03:03 -04:00