GithubHelp home page GithubHelp logo

ldrn's Introduction

LDRN

This repository is implementation of the Learning Local Distribution for Extremely Efficient Single-Image Super-Resolution

image-20220421205419523

Requirements

  • PyTorch 1.10.0
  • opencv-python 4.5.2.52
  • Numpy 1.20.1
  • torchvision 0.11.1
  • tqdm 4.62.2

Train

The DIV2K, Set5, Set14, B100, Urban100, Manga109 dataset can be downloaded from the links below.

Otherwise,you can use dataProcess.py to create custom dataset and use dataProcess2.py to create GaussianBlur dataset. Get start with the following command

python train.py --line_weight 12 1 --scale 2 --cuda

The pre-training weight file is saved in the weight directory, and you can also start with the following command

python train.py --line_weight 12 1 --scale 2 --pre_train "weight/LDRN_X2_bestpsnr_37.35.pth" --cuda

Results

set5(Bicubic)

Eval.Mat Scale LDRN
PSNR/SSIM 2 37.35/0.9812
PSNR/SSIM 3 33.86/0.9666
PSNR/SSIM 4 30.82/0.9349

set5(Gaussian)

Eval.Mat Scale LDRN
PSNR/SSIM 2 37.24/0.9809
PSNR/SSIM 3 33.69/0.9658
PSNR/SSIM 4 30.72/0.9345

x3

image-20220422215211392

x4

image-20220422215238259

ldrn's People

Contributors

xuwen6666 avatar

Watchers

 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.