GithubHelp home page GithubHelp logo

greatlog / idn-pytorch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lizhengwei1992/idn-pytorch

0.0 0.0 0.0 282 KB

paper implement : Fast and Accurate Single Image Super-Resolution via Information Distillation Network

Python 100.00%

idn-pytorch's Introduction

IDN-pytorch

Pytorch implement of the paper, Fast and Accurate Single Image Super-Resolution via Information Distillation Network. You can get the caffe code and pretrained model given by author.

I keep the architecture network in pytorch same as the paper described, ignoring some details.

Analysis

The proposed network learns residual to reconstruct HR image. architecture of network Imformation distillation means that the proposed enhancement unit mixes together two different types of features and the compression unit distills more useful information for the sequential blocks.
Features sliced from middle layer concatenate with features previous layer, and the result add to subsequent layer, this likes another residual dense connect in my opion.

architecture of enhancement unitcompress

The compression layer just reduce dimensions of channels using 1x1 convolution, same as dense net.

As I know, many proposed network want to reuse previous layers as more as possiable, inclouding this paper. The RDN(paper and code) network seems more efficent.

Requirements

  • python3.5 / 3.6
  • pytorch >= 0.2
  • opencv

Train

python3 main.py --model_name IDN --load demo_IDN --dataDir ./data/ --need_patch True --blur True --patchSize 288 --nFeat_slice 4 --nFeat 64 --nDiff 16 --scale 3 --epoch 5000 --lrDecay 2000 --lr 1e-4 --batchSize 16 --lossType 'L1' --nThreads 6 

idn-pytorch's People

Contributors

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