Skip to content

ScapeQin/BasicSR

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BasicSR

pytorch 0.4 version

BasicSR wants to provide some basic deep-learning based models for super-resolution, including:

  1. PSNR-oriented SR models (e.g., SRCNN, VDSR, SRResNet and etc)
    1. want to compare more structures for SR. e.g. ResNet Block, ResNeXt Block, Dense Block, Residual Dense Block, Poly Block, Dual Path Block, Squeeze-and-Excitation Block and etc.
    2. want to provide some useful tricks for training SR networks.
  2. GAN-based models for more visual-pleasing performance, especially textures.
    1. SRGAN
    2. SFTGAN

The codes will be explained in each folder with README.md and the exploration will be put in Wiki.

Testing and Training can be found in codes/README.md.

🌞

  • It now supports a framework to train and test PSNR-oriented SR models. And we will gradually train and compare other models and try other techniques.

  • For SRGAN, we reproduce the results using DIV2K dataset (w/o BatchNorm in the generator).

  • For SFTGAN, we provide the training and testing codes.

Welcome to report bugs 😜 and welcome to contribute to this repo 😜 . I am not expert at coding, but I will try to keep the codes tidy.

Prerequisites

  • Linux
  • Python3
  • Pytorch 0.4
  • NVIDIA GPU + CUDA

Datasets

There are some classical SR datasets, for example:

  • training datasets: BSD200, T91, General100;
  • testing datasets: Set5, Set14, urban100, BSD100, manga109, historical

You can download these classical SR datasets from Google Drive or Baidu Drive.

Currently, there is a new DIVerse 2K resolution high quality images for SR called DIV2K, which can be downloaded from DIV2K offical page, or from Baidu Drive.

Pretrained models

Pretrained models can be downloaded from Google Drive. You can put them in experiments/pretrained_models folder.

More details about the pretrained models, please see experiments/pretrained_models.

Acknowlegement

  • Code architecture is inspired from pytorch-cyclegan.
  • Thanks to Wai Ho Kwok, who develops the initial version.

About

Basic codes for Super-Resolution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.3%
  • MATLAB 1.2%
  • Lua 0.5%