Giter Club home page Giter Club logo

ttasr's Introduction

DualSR: Zero-Shot Dual Learning for Real-World Super-Resolution

This repository is the official implementation of "DualSR: Zero-Shot Dual Learning for Real-World Super-Resolution".

Requirements

To install requirements:

conda env create -f environment.yml
conda activate dualsr_env

Datasets

You can download datasets mentioned in the paper from the following links.

Evaluation

To super-resolve an image using DualSR, put the image in 'test/LR' folder and run:

python main.py

If you want to get PSNR values, you need to provide ground-truth image and/or ground-truth blur kernel directories:

python main.py --gt_dir 'path to the ground-truth image' --kernel_dir 'path to the ground-truth blur kernel'

You can use argument --debug to see PSNR and loss values online during the training

To evaluate DualSR on a dataset, specify the directory that contains LR images:

python main.py --input_dir 'path to the LR input images' --output_dir 'path to save results'

Results

Our model achieves the following performance values (PSNR / SSIM) on DIV2KRK, Urban100 and NTIRE2017 datasets:

Model name DIV2KRK Urban100 NTIRE2017
DualSR 30.92 / 0.8728 25.04 / 0.7803 28.82 / 0.8045

All PSNR and SSIM values are calculated using 'Evaluate_PSNR_SSIM.m' script provided by RCAN.

Acknowledgement

The code is built on KernelGAN. We thank the authors for sharing the codes.

ttasr's People

Contributors

pantheon5100 avatar chenshuang-zhang 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.