• Stars
    star
    134
  • Rank 270,967 (Top 6 %)
  • Language
    Python
  • License
    BSD 2-Clause "Sim...
  • Created over 5 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PyTorch implementation of "ODE-inspired Network Design for Single Image Super-Resolution"(CVPR2019)

OISR-PyTorch

PyTorch implementation of "ODE-inspired Network Design for Single Image Super-Resolution". This code is built on EDSR (PyTorch). We would like to thank the authors for sharing their codes!

Dependencies :

  • Python 3.7
  • PyTorch 0.4.1
  • numpy
  • skimage
  • imageio
  • matplotlib
  • tqdm

How to use ?

The code structure of this project is the same as EDSR, except that we change the definition of residual block (src/model/common.py) to Leapfrog / Heun / 3-stage Runge-Kutta blocks and reset the number of residual blocks. The training and testing scripts remain relatively unchanged. All datasets used in this work can be found here [1,2].

Pretrained models :

model Param Set5 Set14 B100 Urban100 OneDrive Baidu Pan
RK2-s 1.52M 32.21 28.63 27.58 26.14 Link Link (u26w)
LF-s 1.52M 32.14 28.63 27.60 26.17 Link Link (b971)
RK2 5.50M 32.32 28.72 27.66 26.37 Link Link (88f7)
LF 5.50M 32.33 28.73 27.66 26.38 Link Link (19qt)
RK3 44.27M 32.53 28.86 27.75 26.79 Link Link (xc1h)

We report the 4x PSNR(dB) results on benckmark datasets.

Model Structures :

Representative images (4x) :

  • LR

  • OISR-RK3

  • LR

  • OISR-RK3

  • LR

  • OISR-RK3

  • Urban100

  • B100

You can download some results from here. This link contains RK3-x3/x4 Urban100 and B100 results. You can easily generate result images with demo.sh scripts.

Q&A :

  1. The improvement of OISR is limited, compared with NTIRE2018 top rankers.

We admit that the ODE-inspired network design remains experimental, so far it just gives us a different point of view to understand SR problems. It could be a new direction and deserves more attentions of the community (e.g., Neural Ordinary Differential Equations in NeurIPS2018 is encouraging).

  1. More diverse comparative experiments should be involved, since there are many numerical ODE methods.

Due to the limited computing resources, we only evaluate a few network structures at the present time. It is possible that there exists another better architecture, or, more likely, many attempts may not even converge. Note that we only focus on the order of numerical ODE methods intuitively. It is only one of the central concepts in numerical analysis (also includes convergence and stability). To the best of our knowledge, there is no correspondence strictly between numerical ODEs and deep neural networks in numerical analysis, but utlizing convergence, consistency and order, and stability and stiffness may further explain the emprical success of the existing methods and the potential failures.

References :

@InProceedings{Lim_2017_CVPR_Workshops,
  author    = {Lim, Bee and Son, Sanghyun and Kim, Heewon and Nah, Seungjun and Lee, Kyoung Mu},
  title     = {Enhanced Deep Residual Networks for Single Image Super-Resolution},
  booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR) Workshops},
  month     = {July},
  year      = {2017}
}

@InProceedings{OISR,
  author    = {Xiangyu He and Zitao Mo and Peisong Wang and Yang Liu and Mingyuan Yang and Jian Cheng},
  title     = {ODE-inspired Network Design for Single Image Super-Resolution},
  booktitle = {2019 {IEEE} Conference on Computer Vision and Pattern Recognition},
  month     = {July},
  year      = {2019}
}

More Repositories

1

ResNet-18-Caffemodel-on-ImageNet

ResNet-18 Caffemodel @ilsvrc12 shrt 256 with Top-1 69% Top-5 89%
190
star
2

CNN-Inference-Engine-Quick-View

A quick view of high-performance convolution neural networks (CNNs) inference engines on mobile devices.
151
star
3

ShuffleNet-An-Extremely-Efficient-CNN-for-Mobile-Devices-Caffe-Reimplementation

Caffe re-implementation of ShuffleNet
C++
106
star
4

Training-Tricks-for-Binarized-Neural-Networks

The collection of training tricks of binarized neural networks.
71
star
5

Location-aware-Upsampling-for-Semantic-Segmentation

The Pytorch implementation of "Location-aware Upsampling for Semantic Segmentation" (LaU)
Jupyter Notebook
52
star
6

SNNs-Self-Normalizing-Neural-Networks-Caffe-Reimplementation

Caffe re-implementation of SNNs.
C++
46
star
7

Zero-shot-Style-Transfer-via-Attention-Rearrangement

Official implementation of the paper "Zβˆ—: Zero-shot Style Transfer via Attention Rearrangement" a.k.a. "Zβˆ—: Zero-shot Style Transfer via Attention Reweighting" (CVPR2024)
Python
42
star
8

EDSR-ssim

Different SSIM metrics in CNN-based super resolution algorithms (e.g., EDSR CVPRW2017, RDN CVPR2018, MSRN ECCV2018).
38
star
9

Caffe-Computation-Graph-Optimization

Caffe Computation Graph Optimization.
Python
29
star
10

K-Nearest-Neighbors-Hashing

Matlab implementation of "K-Nearest Neighbors Hashing" (CVPR2019)
MATLAB
28
star
11

Compact-Global-Descriptor

Pytorch implementation of "Compact Global Descriptor for Neural Networks" (CGD).
Python
25
star
12

AIM2020-Real-Super-Resolution

Our solution to AIM2020 Real Image Super-Resolution Challenge (x2)
Python
21
star
13

Dynamic-Network-Surgery-Caffe-Reimplementation

Caffe re-implementation of dynamic network surgery.
C++
18
star
14

A-Variation-of-Dice-coefficient-Loss-Caffe-Layer

Compute the variation of dice coefficient loss for real-value regression task.
C++
18
star
15

Optimal-Ternary-Weights-Approximation

Caffe implementation of Optimal-Ternary-Weights-Approximation in "Two-Step Quantization for Low-bit Neural Networks" (CVPR2018).
Cuda
14
star
16

PyTorch-MixNet-SS

Extremely light-weight MixNet with Top-1 75.7% and 2.5M params
Python
7
star
17

AlexNet-BN-Caffemodel-on-ImageNet

AlexNet-BN Caffemodel @ilsvrc12 shrt 256 with Top-1 60.43% Top-5 82.47%
6
star
18

UCAS-Pattern-Recognition

The implementations of programming homeworks in UCAS PR class. (Autumn 2017-2018).
MATLAB
6
star
19

Label-free-Network-Compression

Caffe implementation of "Learning Compression from Limited Unlabeled Data" (ECCV2018).
Python
6
star
20

News-Spider

Tencent NetEase SouHu etc. news spider. Including date, title, body and comments of the news.
Python
5
star
21

Bias-Variance-Decomposition-for-KL-Divergence

This repository includes some detailed proofs of "Bias Variance Decomposition for KL Divergence".
3
star