<p align="center">
<img src="assets/realesrgan_logo.png" height=120>
</p>
## <div align="center"><b><a href="README.md">English</a> | <a href="README_CN.md">ç®ä½ä¸æ</a></b></div>
<div align="center">
ð[**Demos**](#-demos-videos) **|** ð©[**Updates**](#-updates) **|** â¡[**Usage**](#-quick-inference) **|** ð°[**Model Zoo**](docs/model_zoo.md) **|** ð§[Install](#-dependencies-and-installation) **|** ð»[Train](docs/Training.md) **|** â[FAQ](docs/FAQ.md) **|** ð¨[Contribution](docs/CONTRIBUTING.md)
[![download](https://img.shields.io/github/downloads/xinntao/Real-ESRGAN/total.svg)](https://github.com/xinntao/Real-ESRGAN/releases)
[![PyPI](https://img.shields.io/pypi/v/realesrgan)](https://pypi.org/project/realesrgan/)
[![Open issue](https://img.shields.io/github/issues/xinntao/Real-ESRGAN)](https://github.com/xinntao/Real-ESRGAN/issues)
[![Closed issue](https://img.shields.io/github/issues-closed/xinntao/Real-ESRGAN)](https://github.com/xinntao/Real-ESRGAN/issues)
[![LICENSE](https://img.shields.io/github/license/xinntao/Real-ESRGAN.svg)](https://github.com/xinntao/Real-ESRGAN/blob/master/LICENSE)
[![python lint](https://github.com/xinntao/Real-ESRGAN/actions/workflows/pylint.yml/badge.svg)](https://github.com/xinntao/Real-ESRGAN/blob/master/.github/workflows/pylint.yml)
[![Publish-pip](https://github.com/xinntao/Real-ESRGAN/actions/workflows/publish-pip.yml/badge.svg)](https://github.com/xinntao/Real-ESRGAN/blob/master/.github/workflows/publish-pip.yml)
</div>
ð¥ **AnimeVideo-v3 model (å¨æ¼«è§é¢å°æ¨¡å)**. Please see [[*anime video models*](docs/anime_video_model.md)] and [[*comparisons*](docs/anime_comparisons.md)]<br>
ð¥ **RealESRGAN_x4plus_anime_6B** for anime images **(å¨æ¼«æå¾æ¨¡å)**. Please see [[*anime_model*](docs/anime_model.md)]
<!-- 1. You can try in our website: [ARC Demo](https://arc.tencent.com/en/ai-demos/imgRestore) (now only support RealESRGAN_x4plus_anime_6B) -->
1. :boom: **Update** online Replicate demo: [![Replicate](https://img.shields.io/static/v1?label=Demo&message=Replicate&color=blue)](https://replicate.com/xinntao/realesrgan)
1. Online Colab demo for Real-ESRGAN: [![Colab](https://img.shields.io/static/v1?label=Demo&message=Colab&color=orange)](https://colab.research.google.com/drive/1k2Zod6kSHEvraybHl50Lys0LerhyTMCo?usp=sharing) **|** Online Colab demo for for Real-ESRGAN (**anime videos**): [![Colab](https://img.shields.io/static/v1?label=Demo&message=Colab&color=orange)](https://colab.research.google.com/drive/1yNl9ORUxxlL4N0keJa2SEPB61imPQd1B?usp=sharing)
1. Portable [Windows](https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesrgan-ncnn-vulkan-20220424-windows.zip) / [Linux](https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesrgan-ncnn-vulkan-20220424-ubuntu.zip) / [MacOS](https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesrgan-ncnn-vulkan-20220424-macos.zip) **executable files for Intel/AMD/Nvidia GPU**. You can find more information [here](#portable-executable-files-ncnn). The ncnn implementation is in [Real-ESRGAN-ncnn-vulkan](https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan)
<!-- 1. You can watch enhanced animations in [Tencent Video](https://v.qq.com/s/topic/v_child/render/fC4iyCAM.html). 欢è¿è§ç[è
¾è®¯è§é¢å¨æ¼«ä¿®å¤](https://v.qq.com/s/topic/v_child/render/fC4iyCAM.html) -->
Real-ESRGAN aims at developing **Practical Algorithms for General Image/Video Restoration**.<br>
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](docs/feedback.md).
---
If Real-ESRGAN is helpful, please help to â this repo or recommend it to your friends ð <br>
Other recommended projects:<br>
â¶ï¸ [GFPGAN](https://github.com/TencentARC/GFPGAN): A practical algorithm for real-world face restoration <br>
â¶ï¸ [BasicSR](https://github.com/xinntao/BasicSR): An open-source image and video restoration toolbox<br>
â¶ï¸ [facexlib](https://github.com/xinntao/facexlib): A collection that provides useful face-relation functions.<br>
â¶ï¸ [HandyView](https://github.com/xinntao/HandyView): A PyQt5-based image viewer that is handy for view and comparison <br>
â¶ï¸ [HandyFigure](https://github.com/xinntao/HandyFigure): Open source of paper figures <br>
---
### ð Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data
> [[Paper](https://arxiv.org/abs/2107.10833)]   [[YouTube Video](https://www.youtube.com/watch?v=fxHWoDSSvSc)]   [[Bç«è®²è§£](https://www.bilibili.com/video/BV1H34y1m7sS/)]   [[Poster](https://xinntao.github.io/projects/RealESRGAN_src/RealESRGAN_poster.pdf)]   [[PPT slides](https://docs.google.com/presentation/d/1QtW6Iy8rm8rGLsJ0Ldti6kP-7Qyzy6XL/edit?usp=sharing&ouid=109799856763657548160&rtpof=true&sd=true)]<br>
> [Xintao Wang](https://xinntao.github.io/), Liangbin Xie, [Chao Dong](https://scholar.google.com.hk/citations?user=OSDCB0UAAAAJ), [Ying Shan](https://scholar.google.com/citations?user=4oXBp9UAAAAJ&hl=en) <br>
> [Tencent ARC Lab](https://arc.tencent.com/en/ai-demos/imgRestore); Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences
<p align="center">
<img src="assets/teaser.jpg">
</p>
---
<!---------------------------------- Updates --------------------------->
## ð© Updates
- â
Add the **realesr-general-x4v3** model - a tiny small model for general scenes. It also supports the **-dn** option to balance the noise (avoiding over-smooth results). **-dn** is short for denoising strength.
- â
Update the **RealESRGAN AnimeVideo-v3** model. Please see [anime video models](docs/anime_video_model.md) and [comparisons](docs/anime_comparisons.md) for more details.
- â
Add small models for anime videos. More details are in [anime video models](docs/anime_video_model.md).
- â
Add the ncnn implementation [Real-ESRGAN-ncnn-vulkan](https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan).
- â
Add [*RealESRGAN_x4plus_anime_6B.pth*](https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth), which is optimized for **anime** images with much smaller model size. More details and comparisons with [waifu2x](https://github.com/nihui/waifu2x-ncnn-vulkan) are in [**anime_model.md**](docs/anime_model.md)
- â
Support finetuning on your own data or paired data (*i.e.*, finetuning ESRGAN). See [here](docs/Training.md#Finetune-Real-ESRGAN-on-your-own-dataset)
- â
Integrate [GFPGAN](https://github.com/TencentARC/GFPGAN) to support **face enhancement**.
- â
Integrated to [Huggingface Spaces](https://huggingface.co/spaces) with [Gradio](https://github.com/gradio-app/gradio). See [Gradio Web Demo](https://huggingface.co/spaces/akhaliq/Real-ESRGAN). Thanks [@AK391](https://github.com/AK391)
- â
Support arbitrary scale with `--outscale` (It actually further resizes outputs with `LANCZOS4`). Add *RealESRGAN_x2plus.pth* model.
- â
[The inference code](inference_realesrgan.py) supports: 1) **tile** options; 2) images with **alpha channel**; 3) **gray** images; 4) **16-bit** images.
- â
The training codes have been released. A detailed guide can be found in [Training.md](docs/Training.md).
---
<!---------------------------------- Demo videos --------------------------->
## ð Demos Videos
#### Bilibili
- [大é¹å¤©å®«ç段](https://www.bilibili.com/video/BV1ja41117zb)
- [Anime dance cut å¨æ¼«éæ§èè¹](https://www.bilibili.com/video/BV1wY4y1L7hT/)
- [æµ·è´¼çç段](https://www.bilibili.com/video/BV1i3411L7Gy/)
#### YouTube
## ð§ Dependencies and Installation
- Python >= 3.7 (Recommend to use [Anaconda](https://www.anaconda.com/download/#linux) or [Miniconda](https://docs.conda.io/en/latest/miniconda.html))
- [PyTorch >= 1.7](https://pytorch.org/)
### Installation
1. Clone repo
```bash
git clone https
没有合适的资源?快使用搜索试试~ 我知道了~
Real-ESRGAN实现图片高清重建
共153个文件
py:29个
png:16个
md:16个
需积分: 0 1 下载量 4 浏览量
2023-11-13
14:36:59
上传
评论
收藏 268.99MB ZIP 举报
温馨提示
图像超分辨率重建(super resolution,SR)是指利用计算机将一幅低分辨率图像(low resolution,LR)或图像序列进行处理,恢复出高分辨率图像(high resolution,HR)的一种图像处理技术。简单来说就是,利用图像超分辨率技术,可以使模糊的照片变得更清晰。 Real-ESRGAN 是一个托管在 Github 平台上的开源项目,其目标是开发出实用的图像/视频修复算法。
资源推荐
资源详情
资源评论
收起资源包目录
Real-ESRGAN实现图片高清重建 (153个子文件)
setup.cfg 684B
config 267B
description 73B
Dockerfile 2KB
Dockerfile2 484B
Dockerfile3 431B
exclude 240B
.gitignore 2KB
HEAD 185B
HEAD 185B
HEAD 32B
HEAD 23B
pack-0a6076d8f3a35156e8ac7adebdd81ece6cc88a9a.idx 22KB
Real_ESRGAN.iml 536B
MANIFEST.in 170B
index 8KB
0001_out.jpg 3.32MB
teaser.jpg 396KB
0001.jpg 222KB
wolf_gray.jpg 52KB
0030.jpg 12KB
ADE_val_00000114.jpg 10KB
0014.jpg 9KB
settings.json 581B
LICENSE 1KB
master 185B
master 41B
README.md 16KB
README_CN.md 15KB
Training.md 11KB
Training_CN.md 11KB
anime_comparisons.md 8KB
anime_comparisons_CN.md 8KB
anime_video_model.md 6KB
CODE_OF_CONDUCT.md 5KB
model_zoo.md 4KB
anime_model.md 3KB
CONTRIBUTING.md 2KB
feedback.md 1KB
FAQ.md 736B
ncnn_conversion.md 580B
README.md 54B
README.md 41B
data.mdb 740KB
data.mdb 64KB
lock.mdb 8KB
lock.mdb 8KB
onepiece_demo.mp4 579KB
not-zip-safe 1B
pack-0a6076d8f3a35156e8ac7adebdd81ece6cc88a9a.pack 5.37MB
packed-refs 1KB
PKG-INFO 17KB
0001_ne2x.png 4.78MB
OST_009.png 701KB
teaser-text.png 546KB
baboon.png 532KB
tree_alpha_16bit.png 373KB
children-alpha.png 268KB
comic.png 195KB
00003.png 161KB
realesrgan_logo.png 83KB
realesrgan_logo_gv.png 81KB
realesrgan_logo_gi.png 81KB
realesrgan_logo_av.png 81KB
realesrgan_logo_ai.png 81KB
00017_gray.png 68KB
baboon.png 35KB
comic.png 14KB
detection_Resnet50_Final.pth 104.43MB
parsing_parsenet.pth 81.38MB
RealESRGAN_x4plus.pth 63.94MB
inference_realesrgan_video.py 17KB
utils.py 12KB
realesrgan_model.py 12KB
realesrnet_model.py 9KB
realesrgan_dataset.py 9KB
inference_realesrgan.py 8KB
cog_predict.py 7KB
test_dataset.py 6KB
esrgan_predict.py 5KB
extract_subimages.py 5KB
realesrgan_paired_dataset.py 5KB
test_model.py 5KB
setup.py 3KB
test_utils.py 3KB
discriminator_arch.py 3KB
srvgg_arch.py 3KB
generate_meta_info.py 2KB
generate_meta_info_pairdata.py 2KB
app_sample.py 2KB
generate_multiscale_DF2K.py 2KB
pytorch2onnx.py 1KB
flask_client_test_SR.py 997B
test_discriminator_arch.py 561B
__init__.py 519B
__init__.py 510B
__init__.py 500B
train.py 281B
version.py 128B
__init__.py 122B
共 153 条
- 1
- 2
资源评论
祺稷
- 粉丝: 136
- 资源: 22
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Python毕业设计基于Django的网易云数据分析可视化大屏系统的设计与实现+使用说明+全部资料(优秀项目).zip
- Python毕业设计基于Django的网易云数据分析可视化大屏系统的设计与实现+使用说明+全部资料(高分项目).zip
- JavaScript实现的鼠标手势
- 人工兔优化算法ARO MATLAB源码, 应用案例为函数极值求解以及优化svm进行分类,代码注释详细,可结合自身需求进行应用
- 人才网站设计-asp.net+sql-(系统源码)
- asp.net+sql人才网站设计-含系统源码
- C#应用的用户配置窗体方案
- python实现绘制爱心图形的代码
- JAVAWEB项目-校园订餐系统项目源码.zip
- flink-1.19.0-bin-scala-2.12.tgz flink-1.16.3-bin-scala-2.12.tgz
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功