Real-ESRGAN for Core ML (upscale)

The Real-ESRGAN builds the upscale tool and its library fetch on first use, as plain .mlpackage folders: 256ร—256 โ†’ 1024ร—1024 tiles, ร—4.

Package Model Size Use
RealESRGAN-x4plus.mlpackage RealESRGAN_x4plus 33 MB upscale --fast: the quick general model
RealESRGAN-x4v3.mlpackage realesr-general-x4v3 2.4 MB small and fast, slightly softer
RealESRGAN-x4v3-denoise.mlpackage realesr-general-wdn-x4v3 2.4 MB x4v3 that also removes noise and JPEG blocks

Provenance

Original models: xinntao/Real-ESRGAN (Xintao Wang et al.), BSD-3-Clause โ€” the licence is copied in LICENSE. Core ML conversions by VincentGOURBIN/RealESRGAN-CoreML, as mirrored by LocalMuseAI/coreml-realesrgan-x4plus at 4f6c21f7c431ae4e52ae45d11d6195fd96d93fcc. Each archive matched the SHA-256 Hugging Face listed there and is republished here unzipped and unchanged.

Not mirrored here: the UltraSharp and MangaJPEGLQ builds that repository also carries โ€” they are CC BY-NC-SA 4.0, not BSD-3 as the upstream card says, and live in arraypress/upscale-nc with their real licence.

Measured

On an M3 Max, x4plus upscales 1024ร—1024 โ†’ 4096ร—4096 in 4.5โ€“4.6 s (Core ML, CPU + Neural Engine). In a ร—4-shrink-and-back test on 5 generated and 5 stock photos it scored LPIPS 0.195 / 0.236 (generated / real) โ€” upscale's default is now SwinIR-L (arraypress/upscale-swinir-l-real), which scored 0.185 / 0.208; x4plus stays as the fast option.

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support