GithubHelp home page GithubHelp logo

ip-superresolution / bfsr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liyuantsao/bfsr

0.0 0.0 0.0 180.59 MB

The official repository of BFSR: "Boosting Flow-based Generative Super-Resolution Models via Learned Prior" [CVPR 2024]

Shell 0.45% Python 99.55%

bfsr's Introduction

Boosting Flow-based Generative Super-Resolution Models via Learned Prior [CVPR 2024]

This is the official repository of "Boosting Flow-based Generative Super-Resolution Models via Learned Prior".

arXiv

Li-Yuan Tsao, Yi-Chen Lo, Chia-Che Chang, Hao-Wei Chen, Roy Tseng, Chien Feng, Chun-Yi Lee

Overview

In this work, we identify several challenges in flow-based SR methods, including grid artifacts, exploding inverses, and suboptimal results due to a fixed sampling temperature. To tackle these issues, we introduce a learned prior, which is predicted by the proposed latent module, to the inference phase of flow-based SR models.

image

This framework not only addresses the inherent issues in flow-based SR models but also enhances the quality of synthesized images without modifying the original design or pre-trained weights of these models. Our proposed framework is effective, flexible in design, and able to generalize to both fixed-scale and arbitrary-scale SR frameworks without requiring customized components.

image

Launch your experiments

This repository includes the training/evaluation code for LINF-LP, along with the evaluation code for SRFlow-LP (the training code will be released soon), which are the implementations after integrating the proposed latent module with LINF and SRFlow.

To run your experiments on LINF-LP and SRFlow-LP, please refer to LINF-LP and SRFlow-LP, respectively.

Results

Arbitrary-scale SR results

  • The arbitrary-scale SR results on SR benchmark datasets. “In-scales” and “OOD-scales” refer to in- and out-of-training-distribution scales. LPIPS scores are reported (lower is better), with the best and second-best highlighted in red and blue, respectively.
image

Generative SR results

  • The 4× SR results on the DIV2K validation set. The best results are highlighted in red.
image

Qualitative Results

  • Our method tackles the grid artifacts and exploding inverse issue.
image
  • A qualitative comparison between the 4× SR results of SRFlow and our SRFlow-LP.
image
image
  • A qualitative comparison between the 4× SR results of LINF and our LINF-LP.
image

Citation

If you find our work helpful for your research, we would greatly appreciate your assistance in sharing it with the community and citing it using the following BibTex. Thank you for supporting our research.

@InProceedings{Tsao_2024_CVPR,
    author    = {Tsao, Li-Yuan and Lo, Yi-Chen and Chang, Chia-Che and Chen, Hao-Wei and Tseng, Roy and Feng, Chien and Lee, Chun-Yi},
    title     = {Boosting Flow-based Generative Super-Resolution Models via Learned Prior},
    booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
    month     = {June},
    year      = {2024},
    pages     = {26005-26015}
}

Acknowledgements

Our codes are built on LINF (Paper, code) and SRFlow (Paper, Code), we appriciate their amazing works that advance this community.

bfsr's People

Contributors

liyuantsao avatar dependabot[bot] 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.