Interactive 4× Split-Wipe & Pixel Loupe Inspector
Loading starter preset…
See inside 4× APISR GRL-GAN
Per-pixel detail-gain map (|4× APISR − 4× Bicubic|)
Brighter cyan-indigo streaks mark reconstructed ink lines, spokes, whiskers, and edge transitions.
Luminance histogram & verified ONNX contract
- Repository
- Xenova/4x_APISR_GRL_GAN_generator-onnx (rev 5e55535f)
- Task & Arch
- image-to-image · swin2sr (GRL-GAN generator, CVPR 2024)
- Weights
- onnx/model.onnx · 6,488,522 B (6.49 MB) · fp32 pinned
- Runtime
- Shared Transformers.js 3.7.5 (lib/webai.js) · CPU WASM Worker
- Padding
- Swin2SRImageProcessor pad_size=4 cropped to exact [4W, 4H]
- License
- GNU GPL-3.0 (Kiteretsu77/APISR upstream + Xenova ONNX)
Show the code — blitTileCore() cropping Swin2SR pad_size=4 to exact [4W, 4H] with NaN auditing
Show the code — Off-main-thread tiled 4× APISR pipeline (Transformers.js 3.7.5 fp32 CPU WASM)
Explore the 4× APISR GRL-GAN use-case ladder
Basics · Resampler Ablation & Tile-Seam Check
Compare 1× Bilinear vs 4× Bicubic vs 4× APISR GRL-GAN edge acutance & ringing, plus live 0 px vs 8 px overlap tile-seam measurements.
Practical · Multi-Crop Tiled Batch Restoration Queue
Restore sprites, comics, typography, and photo crops offline with Pause, Resume, Cancel, large tiled outputs, per-row PNGs, and OWASP CSV/JSON logs.
Wild · 5-Degradation Stress Suite
Stress-test JPEG Q20, Gaussian blur, 2× downscale aliasing, motion blur, and low-contrast scans with real PSNR/SSIM and edge recovery vs bicubic.
Multi-model · U-2-Netp Saliency → 4× APISR Cutout
Chain Stage 1 U-2-Netp (4.57 MB Apache-2.0) with Stage 2 4× APISR (6.49 MB GPL-3.0) in 11.1 MB total WASM for razor-sharp 4× transparent alpha stickers.