Files
automatic/scripts
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
..
2026-01-20 09:53:20 +01:00
2025-10-18 14:07:52 -04:00
2026-01-20 09:53:20 +01:00
2025-08-29 13:36:37 -04:00
2026-01-20 09:53:20 +01:00
2026-01-20 09:53:20 +01:00
2026-01-20 09:53:20 +01:00
2025-09-12 16:28:53 -04:00
2026-01-20 09:53:20 +01:00
2026-01-31 11:04:50 +00:00
2025-11-13 10:04:44 -05:00
2025-07-15 14:35:27 -04:00
2025-09-12 16:28:53 -04:00
2025-08-31 15:20:15 -04:00
2025-09-24 20:16:07 -04:00
2025-08-31 15:20:15 -04:00
2025-07-25 08:12:04 -04:00
2025-08-31 15:20:15 -04:00
2025-09-28 09:09:19 -04:00
2025-07-05 13:16:46 -04:00
2025-10-29 20:42:00 -04:00
2025-09-12 16:28:53 -04:00
2025-07-22 10:07:17 -04:00
2025-07-22 10:07:17 -04:00
2025-07-22 10:07:17 -04:00
2025-07-22 10:07:17 -04:00
2025-07-05 16:47:25 -04:00
2025-11-12 19:24:47 -05:00
2025-09-12 16:12:45 -04:00