Real-ESRGAN 的目标是开发用于一般图像/视频恢复的实用算法。
AnimeVideo-v3 model (动漫视频小模型). Please see [anime video models] and [comparisons]
RealESRGAN_x4plus_anime_6B for anime images (动漫插图模型). Please see [anime_model]
Real-ESRGAN aims at developing Practical Algorithms for General Image/Video Restoration.
We extend the powerful ESRGAN to a practical restoration application (namely, Real-ESRGAN), which is trained with pure synthetic data.
Thanks for your valuable feedbacks/suggestions. All the feedbacks are updated in feedback.md.
If Real-ESRGAN is helpful, please help to ⭐ this repo or recommend it to your friends
Other recommended projects:
▶️ GFPGAN: A practical algorithm for real-world face restoration
▶️ BasicSR: An open-source image and video restoration toolbox
▶️ facexlib: A collection that provides useful face-relation functions.
▶️ HandyView: A PyQt5-based image viewer that is handy for view and comparison
▶️ HandyFigure: Open source of paper figures
[Paper] [YouTube Video] [B站讲解] [Poster] [PPT slides]
Xintao Wang, Liangbin Xie, Chao Dong, Ying Shan
Tencent ARC Lab; Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences
--outscale (It actually further resizes outputs with LANCZOS4). Add RealESRGAN_x2plus.pth model.Clone repo
git clone https://github.com/xinntao/Real-ESRGAN.git
cd Real-ESRGANInstall dependent packages
# Install basicsr - https://github.com/xinntao/BasicSR
# We use BasicSR for both training and inference
pip install basicsr
# facexlib and gfpgan are for face enhancement
pip install facexlib
pip install gfpgan
pip install -r requirements.txt
python setup.py developThere are usually three ways to inference Real-ESRGAN.
You can download Windows / Linux / MacOS executable files for Intel/AMD/Nvidia GPU.
This executable file is portable and includes all the binaries and models required. No CUDA or PyTorch environment is needed.
You can simply run the following command (the Windows example, more information is in the README.md of each executable files):
./realesrgan-ncnn-vulkan.exe -i input.jpg -o output.png -n model_nameWe have provided five models:
You can use the -n argument for other models, for example, ./realesrgan-ncnn-vulkan.exe -i input.jpg -o output.png -n realesrnet-x4plus
outscale) as the python script inference_realesrgan.py.…Note that it may introduce block inconsistency (and also generate slightly different results from the PyTorch implementation), because this executable file first crops the input image into several tiles, and then processes them separately, finally stitches together.
outscale. The program will further perform cheap resize operation after the Real-ESRGAN output.…Download pre-trained models: RealESRGAN_x4plus.pth
wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P weightsInference!
python inference_realesrgan.py -n RealESRGAN_x4plus -i inputs --face_enhanceResults are in the results folder
Pre-trained models: RealESRGAN_x4plus_anime_6B
More details and comparisons with waifu2x are in anime_model.md
# download model
wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth -P weights
# inference
python inference_realesrgan.py -n RealESRGAN_x4plus_anime_6B -i inputsResults are in the results folder
@InProceedings{wang2021realesrgan,
author = {Xintao Wang and Liangbin Xie and Chao Dong and Ying Shan},
title = {Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data},
booktitle = {International Conference on Computer Vision Workshops (ICCVW)},
date = {2021}
}If you have any question, please email [email protected] or [email protected].
If you develop/use Real-ESRGAN in your projects, welcome to let me know.
GUI
Thanks for all the contributors.
RealESRGan 检查点的许可/条款?
你能提供 arm64 版的 realesrgan-ncnn-vulkan 吗?
在 Papers with Code 上验证评估
关于将 RealESRGANv2-animevideo 用于自由职业工作的商业使用问题
已通过 ncnn 和 WebAssembly 实现了浏览器版本
优化文字增强何时发布
有人能解释一下怎么使用吗?
改进 PDF
Real-ESRGAN 是否可用于视频播放器的实时超分辨率? 是否有现成的工作流? (Real-ESRGAN 是否可用于视频播放器的实时超分辨率? 是否有现成的工作流?)
图片