All Projects → twhui → SRGAN-PyTorch

twhui / SRGAN-PyTorch

Licence: other
An Unofficial PyTorch Implementation for Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to SRGAN-PyTorch

Basicsr
Open Source Image and Video Restoration Toolbox for Super-resolution, Denoise, Deblurring, etc. Currently, it includes EDSR, RCAN, SRResNet, SRGAN, ESRGAN, EDVR, BasicVSR, SwinIR, ECBSR, etc. Also support StyleGAN2, DFDNet.
Stars: ✭ 2,708 (+5107.69%)
Mutual labels:  super-resolution, srgan, srresnet
mSRGAN-A-GAN-for-single-image-super-resolution-on-high-content-screening-microscopy-images.
Generative Adversarial Network for single image super-resolution in high content screening microscopy images
Stars: ✭ 52 (+0%)
Mutual labels:  super-resolution, srgan
Srgan
Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network
Stars: ✭ 2,641 (+4978.85%)
Mutual labels:  super-resolution, srgan
WaifuLite
Super Resolution for Anime image, lightweight implementation
Stars: ✭ 20 (-61.54%)
Mutual labels:  super-resolution
Single-Image-Example-Based-Super-Resolution
Single image example-based super resolution. Improves the spatial and temporal resolution of an image using a direct mapping of LR HR patch pairs. C++, openCV.
Stars: ✭ 33 (-36.54%)
Mutual labels:  super-resolution
EGVSR
Efficient & Generic Video Super-Resolution
Stars: ✭ 774 (+1388.46%)
Mutual labels:  super-resolution
SR Framework
A generic framework which implements some famouts super-resolution models
Stars: ✭ 54 (+3.85%)
Mutual labels:  super-resolution
pytorch-gans
PyTorch implementation of GANs (Generative Adversarial Networks). DCGAN, Pix2Pix, CycleGAN, SRGAN
Stars: ✭ 21 (-59.62%)
Mutual labels:  super-resolution
FISR
Official repository of FISR (AAAI 2020).
Stars: ✭ 72 (+38.46%)
Mutual labels:  super-resolution
ImSwitch
ImSwitch is a software solution in Python that aims at generalizing microscope control by providing a solution for flexible control of multiple microscope modalities.
Stars: ✭ 43 (-17.31%)
Mutual labels:  super-resolution
Deep-Restore-PyTorch
Deep CNN for learning image restoration without clean data!
Stars: ✭ 59 (+13.46%)
Mutual labels:  srresnet
FB
Multi-frame super-resolution via sub-pixel.
Stars: ✭ 55 (+5.77%)
Mutual labels:  super-resolution
NRSR
Neighborhood Regression for Edge-Preserving Image Super-Resolution (ICASSP 2015)
Stars: ✭ 13 (-75%)
Mutual labels:  super-resolution
AI-Lossless-Zoomer
AI无损放大工具
Stars: ✭ 940 (+1707.69%)
Mutual labels:  super-resolution
EmiyaEngine
只要蘊藏著想成為真物的意志,偽物就比真物還要來得真實。
Stars: ✭ 27 (-48.08%)
Mutual labels:  super-resolution
tensorflow-bicubic-downsample
tf.image.resize_images has aliasing when downsampling and does not have gradients for bicubic mode. This implementation fixes those problems.
Stars: ✭ 23 (-55.77%)
Mutual labels:  super-resolution
libsrcnn
Super-Resolution imaging with Convolutional Neural Network library for G++, Non-OpenCV model.
Stars: ✭ 14 (-73.08%)
Mutual labels:  super-resolution
DAN
This is an official implementation of Unfolding the Alternating Optimization for Blind Super Resolution
Stars: ✭ 196 (+276.92%)
Mutual labels:  super-resolution
LFSSR-SAS-PyTorch
Repository for "Light Field Spatial Super-resolution Using Deep Efficient Spatial-Angular Separable Convolution" , TIP 2018
Stars: ✭ 22 (-57.69%)
Mutual labels:  super-resolution
picasso
A collection of tools for painting super-resolution images
Stars: ✭ 77 (+48.08%)
Mutual labels:  super-resolution

SRGAN-PyTorch

This repository contains the unoffical pyTorch implementation of SRGAN and also SRResNet in the paper Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network, CVPR17.

We closely followed the network structure, training strategy and training set as the orignal SRGAN and SRResNet. We also implemented subpixel convolution layer as Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network, CVPR16. My collaborator also shares contribution to this repository.

License and Citation

All code and other materials (including but not limited to the tables) are provided for academic research purposes only and without any warranty. Any commercial use requires our consent. If our work helps your research or you use any parts of the code in your research, please acknowledge it appropriately:

@InProceedings{ledigsrgan17,    
 author = {Christian Ledig and Lucas Theis and Ferenc Huszár and Jose Caballero and Andrew Cunningham and Alejandro Acosta and Andrew Aitken and Alykhan Tejani and Johannes Totz and Zehan Wang and Wenzhe Shi},    
 title  = {Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network},    
 booktitle  = {Proceedings of IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},    
 pages = {4681--4690},  
 year = {2017}}
 
@misc{SRGAN-pyTorch,
  author = {Tak-Wai Hui and Wai-Ho Kwok},
  title = {SRGAN-PyTorch: A PyTorch Implementation of Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network},
  year = {2018},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/twhui/SRGAN-PyTorch}}
}

Results of SRGAN in terms of PSNR and SSIM

Dataset Our CVPR17
Set5 29.4490 / 0.8542 29.40 / 0.8472
Set14 26.0677 / 0.7153 26.02 / 0.7397
BSD100 24.8665 / 0.6594 25.16 / 0.6688
Urban100 23.9434 / 0.7277 -

Results of SRResNet in terms of PSNR and SSIM

Dataset Our CVPR17
Set5 31.9678 / 0.9007 32.05 / 0.9019
Set14 28.5809 / 0.7972 28.49 / 0.8184
BSD100 27.5784 / 0.7538 27.58 / 0.7620
Urban100 26.0479 / 0.7954 -

Dependencies

pytorch 0.3+, python 3.5, python-box, scikit-image, numpy

Training set

We used a subset of Imagenet dataset ILSVRC2016_CLS-LOC.tar.gz for training our models. The subset can be found in /subset.txt

Training

CUDA_VISIBLE_DEVICES=0 python ./train.py --option ./options/train/SRResNet/SRResNet_x4.json
CUDA_VISIBLE_DEVICES=0 python ./train.py --option ./options/train/SRGAN/SRGAN_x4.json

Testing

CUDA_VISIBLE_DEVICES=0 python ./test.py --option ./options/test/SRResNet/SRResNet_x4.json
CUDA_VISIBLE_DEVICES=0 python ./test.py --option ./options/test/SRGAN/SRGAN_x4.json

The upsampled images will be generated in /home/twhui/Projects/SRGAN/results/MODEL_NAME/test_images. A text file that contains PSNR and SSIM results will be generated in /home/twhui/Projects/SRGAN/results/MODEL_NAME/log. MODEL_NAME = SRResNet_x4 or SRGAN_x4.

Trained models

The trained models (16 residual blocks) of SRResNet and SRGAN are available.

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].