All Projects → Lornatang → RFB_ESRGAN-PyTorch

Lornatang / RFB_ESRGAN-PyTorch

Licence: Apache-2.0 license
Simple realization of papers in oppo Research Institute super score competition.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to RFB ESRGAN-PyTorch

ESRGAN-tensorflow
Enhanced SRGAN. Champion PIRM Challenge on Perceptual Super-Resolution
Stars: ✭ 33 (-46.77%)
Mutual labels:  resolution, esrgan
SRGAN-PyTorch
A simple and complete implementation of super-resolution paper.
Stars: ✭ 266 (+329.03%)
Mutual labels:  resolution
qt-quick-responsive-helper
A simple toolbar for QtQuick based applications, to let developers test different resolutions and dpi settings easily. It was made to be integrated with minimal effort (only one QML file), and to be configurable for your specific usage.
Stars: ✭ 26 (-58.06%)
Mutual labels:  resolution
django-js-routes
Expose and perform reverse lookups of Django URLs in the frontend world.
Stars: ✭ 20 (-67.74%)
Mutual labels:  resolution
ImageDownloader
A program for downloading and filtering images based on their resolution.
Stars: ✭ 60 (-3.23%)
Mutual labels:  resolution
MIRNet-Keras
Keras Implementation of MIRNet - SoTA in Image Denoising, Super Resolution and Image Enhancement - CVPR 2020
Stars: ✭ 21 (-66.13%)
Mutual labels:  resolution
gini
A fast SAT solver
Stars: ✭ 139 (+124.19%)
Mutual labels:  resolution
choco-screen-resolution
Sets the screen resolution on Windows virtual machines (VMs)
Stars: ✭ 24 (-61.29%)
Mutual labels:  resolution
BetterDummy
Unlock your displays on your Mac! Smooth scaling, HiDPI unlock, XDR/HDR extra brightness upscale, DDC, brightness and dimming, dummy displays, PIP and lots more!
Stars: ✭ 9,601 (+15385.48%)
Mutual labels:  resolution
res
Device resolution detection module
Stars: ✭ 35 (-43.55%)
Mutual labels:  resolution
resolution
A library to resolve blockchain domain names.
Stars: ✭ 190 (+206.45%)
Mutual labels:  resolution
Psychic-CCTV
A video analysis tool built completely in python.
Stars: ✭ 21 (-66.13%)
Mutual labels:  resolution
WinReform
A simple tool to help resize and relocate stubborn windows.
Stars: ✭ 20 (-67.74%)
Mutual labels:  resolution
resolutions-2019
A list of data mining and machine learning papers that I implemented in 2019.
Stars: ✭ 19 (-69.35%)
Mutual labels:  resolution
AI-Lossless-Zoomer
AI无损放大工具
Stars: ✭ 940 (+1416.13%)
Mutual labels:  esrgan
libsrcnn
Super-Resolution imaging with Convolutional Neural Network library for G++, Non-OpenCV model.
Stars: ✭ 14 (-77.42%)
Mutual labels:  resolution
instagram-profile-picture
💎 Get url to the profile picture (and more) of any Instagram user in different resolutions!
Stars: ✭ 37 (-40.32%)
Mutual labels:  resolution
agrid
A grid for modelling, analyse, map and visualise multidimensional and multivariate data
Stars: ✭ 16 (-74.19%)
Mutual labels:  resolution
typeioc
Dependency injection container for typescript / javascript
Stars: ✭ 32 (-48.39%)
Mutual labels:  resolution
Paddlegan
PaddlePaddle GAN library, including lots of interesting applications like First-Order motion transfer, wav2lip, picture repair, image editing, photo2cartoon, image style transfer, and so on.
Stars: ✭ 4,987 (+7943.55%)
Mutual labels:  resolution

RFB_ESRGAN-PyTorch

Overview

This repository contains an op-for-op PyTorch reimplementation of Perceptual Extreme Super Resolution Network with Receptive Field Block.

Table of contents

Download weights

Download datasets

Contains DIV2K, DIV8K, Flickr2K, OST, T91, Set5, Set14, BSDS100 and BSDS200, etc.

How Test and Train

Both training and testing only need to modify the config.py file.

Test

  • line 31: upscale_factor change to 16.
  • line 33: mode change to valid.
  • line 111: model_path change to results/pretrained_models/RFBESRNet_x16-DFO2K-0bcd554c.pth.tar.

Train RFBESRNet model

  • line 31: upscale_factor change to 16.
  • line 33: mode change to train_rfbesrnet.
  • line 35: exp_name change to RFBESRNet_baseline.

Resume train RFBESRNet model

  • line 31: upscale_factor change to 16.
  • line 33: mode change to train_rfbesrnet.
  • line 35: exp_name change to RFBESRNet_baseline.
  • line 49: resume change to samples/RFBESRNet_baseline/g_epoch_xxx.pth.tar.

Train ESRGAN model

  • line 31: upscale_factor change to 16.
  • line 33: mode change to train_rfbesrgan.
  • line 35: exp_name change to RFBESRGAN_baseline.
  • line 77: resume change to results/RFBESRNet_baseline/g_last.pth.tar.

Resume train ESRGAN model

  • line 31: upscale_factor change to 16.
  • line 33: mode change to train_rfbesrgan.
  • line 35: exp_name change to RFBESRGAN_baseline.
  • line 77: resume change to results/RFBESRNet_baseline/g_last.pth.tar.
  • line 78: resume_d change to samples/RFBESRGAN_baseline/g_epoch_xxx.pth.tar.
  • line 79: resume_g change to samples/RFBESRGAN_baseline/g_epoch_xxx.pth.tar.

Result

Source of original paper results: https://arxiv.org/pdf/2005.12597v1.pdf

In the following table, the value in () indicates the result of the project, and - indicates no test.

Dataset Scale RFBNet (PSNR) RFB_ESRGAN (PSNR)
DIV8K 16 (23.45) 23.38(23.20)

Low resolution / Recovered High Resolution / Ground Truth

Contributing

If you find a bug, create a GitHub issue, or even better, submit a pull request. Similarly, if you have questions, simply post them as GitHub issues.

I look forward to seeing what the community does with these models!

Credit

Perceptual Extreme Super Resolution Network with Receptive Field Block

Taizhang Shang, Qiuju Dai, Shengchen Zhu, Tong Yang, Yandong Guo

Abstract
Perceptual Extreme Super-Resolution for single image is extremely difficult, because the texture details of different images vary greatly. To tackle this difficulty, we develop a super resolution network with receptive field block based on Enhanced SRGAN. We call our network RFB-ESRGAN. The key contributions are listed as follows. First, for the purpose of extracting multi-scale information and enhance the feature discriminability, we applied receptive field block (RFB) to super resolution. RFB has achieved competitive results in object detection and classification. Second, instead of using large convolution kernels in multi-scale receptive field block, several small kernels are used in RFB, which makes us be able to extract detailed features and reduce the computation complexity. Third, we alternately use different upsampling methods in the upsampling stage to reduce the high computation complexity and still remain satisfactory performance. Fourth, we use the ensemble of 10 models of different iteration to improve the robustness of model and reduce the noise introduced by each individual model. Our experimental results show the superior performance of RFB-ESRGAN. According to the preliminary results of NTIRE 2020 Perceptual Extreme Super-Resolution Challenge, our solution ranks first among all the participants.

[Paper]

@misc{2005.12597,
    Author = {Taizhang Shang and Qiuju Dai and Shengchen Zhu and Tong Yang and Yandong Guo},
    Title = {Perceptual Extreme Super Resolution Network with Receptive Field Block},
    Year = {2020},
    Eprint = {arXiv:2005.12597},
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].