Skip to content

Add WebSR GAN-S and GAN-M (new architecture: WebSR UNet, ONNX) - #523

Open
sb2702 wants to merge 1 commit into
OpenModelDB:mainfrom
sb2702:add-websr-gan
Open

sb2702 wants to merge 1 commit into
OpenModelDB:mainfrom
sb2702:add-websr-gan

Conversation

@sb2702

@sb2702 sb2702 commented Nov 13, 2026

Copy link
Copy Markdown

Adds two 2x models, WebSR GAN-S and WebSR GAN-M, and a new architecture, WebSR UNet.

What they are. Small UNets distilled from RealESR General x4 v3, designed for fast inference on integrated graphics cards.

Key features

  1. A UNet design, which replicates the receptive field of the original RealESRGaN x4v3 model with far fewer layers (7 vs 32+), which minimizes tensor bandwidth, often the primary bottleneck on integrated graphics and apple silicon, not arithmetic density.

  2. Uses conditional convolutions and weight banks to handle different kinds of content more effectively in one inference pass

Performance

Uses RealESRGANx4v3 as the teacher, the WebSR models run ~6x faster with ~39 dB of accuracy and an LPIPS score of 0.01 (largely imperceptible to the human eye). Performance on an M6 Macbook Pro:

Model Precision Output FPS Real PSNR (dB) Real LPIPS
WebSR gan-s fp16 2× 61.5 38.672 0.0111
WebSR gan-m fp16 2× 42.2 39.549 0.0092
Real-ESRGAN x4v3 fp16 4× 10.4 reference reference

Architecture

RealESRGAN:
x4v3-architecture

WebSR - GAN:
websr-gan-architecture

Where it's coming from

These are models built for free.upscaler.video (~800k Monthly Active Users), as part of the WebSR SDK.

If you just Google "Video Upscaler", free.upscaler.video is the first result, ahead of Topaz or whatever. More info here and here.

Files

Let me know if you need more info

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant