Code Monkey home page Code Monkey logo

msrn-pytorch's Introduction

MSRN_PyTorch

This repository is a PyTorch version of the paper "Multi-scale Residual Network for Image Super-Resolution" (ECCV 2018).

We propose a novel multi-scale residual network (MSRN) to fully exploit the image features, which performance exceeds most of the state-of-the-art SR methods. Based on the residual block, we introduce convolution kernels of different sizes to adaptively detect the image features at different scales. Meanwhile, we let these features interact with each other to get the most effective image information. This structure is called Multi-scale Residual Block (MSRB), which effectively extracts the features of the image. Furthermore, the outputs of each MSRB are used as the hierarchical features for global feature fusion. And then, all these features are sent to the reconstruction module for recovery of the high-quality image.

Paper can be found at http://openaccess.thecvf.com/content_ECCV_2018/papers/Juncheng_Li_Multi-scale_Residual_Network_ECCV_2018_paper.pdf

More SR images reconstructed by our model can be found at https://goo.gl/bGnZ8D.

From left to right: Aplus, LapSRN, MSRN(our) and Original(GT) x2


From left to right: Aplus, LapSRN, MSRN(our) and Original(GT) x2


Prerequisites:

  1. Linux
  2. Python 3.5
  3. PyTorch 0.4.0
  4. CPU or NVIDIA GPU + CUDA CuDNN (CUDA 8.0)

Training

python main.py --cuda

Testing

python test.py --cuda   

Dataset

We use matlab code for training data augment

training dataset generation

  cd Data_process
  run generate_train.m

test dataset generation

  cd Data_process
  run generate_test.m

Example (use pretrained model x3)

 cd example
 python test.py --cuda

msrn-pytorch's People

Contributors

cv-junchengli avatar fyxx avatar mivrc-cv avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.