Coder Social home page Coder Social logo

ipassr's Introduction

iPASSR

PyTorch implementation of "Symmetric Parallax Attention for Stereo Image Super-Resolution", CVPRW 2021.

Highlights:

1. We develop a Siamese network equipped with a bi-directional PAM to super-resolve both left and right images.

2. We propose an inline occlusion handling scheme to deduce occlusions from parallax attention maps.

3. We design several illuminance-robust losses to enhance stereo consistency.


4. Our iPASSR significantly outperforms PASSRnet with a comparable model size.


Download the Results:

We share the quantitative and qualitative results achieved by our iPASSR on all the test sets for both 2xSR and 4xSR. Then, researchers can compare their algorithms to our method without performing inference. Results are available at Google Drive and Baidu Drive (Key: NUDT).

Codes and Models:

Requirement:

  • PyTorch 1.3.0, torchvision 0.4.1. The code is tested with python=3.7, cuda=9.0.
  • Matlab (For training/test data generation and performance evaluation)

Train:

  • Download the training sets from Baidu Drive (Key: NUDT) and unzip them to ./data/train/.
  • Run ./data/train/GenerateTrainingPatches.m to generate training patches.
  • Run train.py to perform training. Checkpoint will be saved to ./log/.

Test:

  • Download the test sets and unzip them to ./data. Here, we provide the full test sets used in our paper on Google Drive and Baidu Drive (Key: NUDT).
  • Run test.py to perform a demo inference. Results (.png files) will be saved to ./results.
  • Run evaluation.m to calculate PSNR and SSIM scores.

Some Useful Recources:

Citiation:

We hope this work can facilitate the future research in stereo image SR. If you find this work helpful, please consider citing:

@InProceedings{iPASSR,
    author    = {Wang, Yingqian and Ying, Xinyi and Wang, Longguang and Yang, Jungang and An, Wei and Guo, Yulan},
    title     = {Symmetric Parallax Attention for Stereo Image Super-Resolution},
    booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops},
    month     = {June},
    year      = {2021},
    pages     = {766-775}
}

Contact:

Any question regarding this work can be addressed to [email protected].

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.