Real-ESRGAN
Practical image and video super-resolution models.
- Star 数
- 37.1K
- Fork 数
- 4.5K
- 未关闭 Issue
- 647
- 最近提交
- 2024-08-06
数据来自 GitHub API · 更新于 2026-10-15
Real-ESRGAN 是什么?
Real-ESRGAN is the widely used super-resolution model behind many upscalers. It ships portable NCNN/Vulkan executables for Windows, macOS and Linux as well as a Python package, with models for general photos and anime.
主要功能
- General and anime-specific upscaling models
- Portable executables — no Python needed
- Optional face enhancement via GFPGAN
- Video frame upscaling
系统要求
- 平台
- Windows · macOS · Linux
- 显卡
- Vulkan GPU for the portable build; NVIDIA for the PyTorch version
如何安装 Real-ESRGAN
根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。
Portable executable
- 1Download realesrgan-ncnn-vulkan for your OS from GitHub Releases and extract it.
- 2Upscale an image.
./realesrgan-ncnn-vulkan -i input.jpg -o output.png -n realesrgan-x4plus
Python
- 1Clone and install.
git clone https://github.com/xinntao/Real-ESRGAN.git cd Real-ESRGAN pip install basicsr facexlib gfpgan pip install -r requirements.txt python setup.py develop - 2Run inference on a folder.
python inference_realesrgan.py -n RealESRGAN_x4plus -i inputs --face_enhance
优势
- Fast and reliable
- Permissive license
不足
- Can over-smooth fine textures
- Python install has dependency quirks
Real-ESRGAN 替代品对比
| 软件 | Star 数 | 许可证 | 平台 | 显存 |
|---|---|---|---|---|
| Real-ESRGAN Practical image and video super-resolution models. | 37.1K | BSD-3-Clause | — | |
| Upscayl Free desktop app that upscales images with AI. | 50.6K | AGPL-3.0 | — | |
| GFPGAN Blind face restoration for old and low-quality photos. | 37.7K | Apache-2.0 | — | |
| chaiNNer Node-based image processing GUI for upscaling and batch pipelines. | 6.1K | GPL-3.0 | — | |
| CodeFormer Robust face restoration with an adjustable fidelity–quality trade-off. | 18.2K | S-Lab License 1.0 (non-commercial) | — | |
| rembg Remove image backgrounds from the command line, Python or an HTTP server. | 25.1K | MIT | — |
常见问题
Real-ESRGAN 免费吗?
是的——Real-ESRGAN 是开源软件,采用 BSD-3-Clause 许可证。商用前请确认软件及模型权重的许可条款。
Real-ESRGAN 支持 Windows、Mac 和 Linux 吗?
Real-ESRGAN 支持:Windows, macOS, Linux。
运行 Real-ESRGAN 需要什么配置?
Vulkan GPU for the portable build; NVIDIA for the PyTorch version
如何安装 Real-ESRGAN?
1. Download realesrgan-ncnn-vulkan for your OS from GitHub Releases and extract it. 2. Upscale an image.
Real-ESRGAN 有哪些好的替代品?
常见替代品包括 Upscayl, GFPGAN, chaiNNer, CodeFormer,详见本页对比表。
可以不安装、在线使用 Real-ESRGAN 吗?
如果只想要结果,AiLoft 可在浏览器中运行 GPT Image 2.5、Nano Banana Pro 等顶级图像模型,无需显卡和配置。
不想安装?直接在浏览器里生成图片
无需显卡、驱动或 Python。在线使用 GPT Image 2.5 和 Nano Banana Pro,并排对比效果。