Giter Club home page Giter Club logo

gpp's Introduction

Exploiting the patch manifold for inverse imaging

Generative Patch Priors for Practical Compressive Image Recovery -- (pdf)

Rushil Anirudh, Suhas Lohit, Pavan Turaga. In WACV, 2021. Image of size 1536ร—1024 recovered with GPP at a measurement rate of 10% using a GAN trained on CIFAR-C images of size 32x32.

Overview of the approach for patch-based compressive sensing

Dependencies

There are two versions of GPP, with python 3.6:

  • Pytorch 1.6.0 (also works with 1.4.0+)
  • Tensorflow 1.8.0 We have included the corresponding patch-generators trained on CIFAR-32 for each framework. There are some performance differences; we report results from Tensorflow in the paper, but the PyTorch numbers are better on most examples (!!).

The code also has the option of using BM3D as part of the inverse patch transform in order to mitigate some of the patching artifacts. Any implementation should work, we used two of them -- pybm3d and bm3d. GPP does not need it to work, but will work better with BM3D.

This is ongoing work, if you find errors or bugs please let us know!

Description

This section will be updated in the coming days. Please see the paper for details about GPP and its workings.

Citation

If you find this code useful in your work, please consider citing our paper:

@inproceedings{Anirudh2021GPP,
  title={Generative Patch Priors for Practical Compressive Image Recovery},
  author={Anirudh, Rushil and Lohit, Suhas and Turaga, Pavan},
  booktitle={WACV},
  year={2021}
}

License

This code is distributed under the terms of the MIT license. All new contributions must be made under this license. LLNL-CODE- 812404 SPDX-License-Identifier: MIT

gpp's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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