image-to-image · vision · Swin2SR / GRL-GAN · Transformers.js 3.7.5 WASM · fp32 · 6.49 MB · GPL-3.0

4× APISR GRL-GAN Super-Resolution Studio

Upscale low-resolution line-art, typography, sprites, and compressed photographs by an exact 4× ([W, H] → [4W, 4H]) using Xenova/4x_APISR_GRL_GAN_generator-onnx (image-to-image, 6.49 MB fp32 ONNX, GPL-3.0) running 100% locally on CPU WASM via shared Transformers.js 3.7.5 with overlapping tiled stitching, an interactive split-wipe curtain, and a magnifying pixel loupe.

Xenova/4x_APISR_GRL_GAN_generator-onnx Kiteretsu77/APISR image-to-image WASM · fp32 · 6.49 MB [W, H] → [4W, 4H] GPL-3.0

Interactive 4× Split-Wipe & Pixel Loupe Inspector

Input: waiting… Click or drag on canvas to aim pixel loupe · Arrow keys move loupe
48%

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