Git Product home page Git Product logo

rcan-tensorflow's Introduction

rcan-tensorflow

Image Super-Resolution Using Very Deep Residual Channel Attention Networks Implementation in Tensorflow

ECCV 2018 paper

Orig PyTorch Implementation

License: MIT Total alerts Language grade: Python

Introduction

This repo contains my implementation of RCAN (Residual Channel Attention Networks).

Here're the proposed architectures in the paper.

  • Channel Attention (CA) CA

  • Residual Channel Attention Block (RCAB) RCAB

  • Residual Channel Attention Network (RCAN), Residual Group (GP) RG

All images got from the paper

Dependencies

  • Python
  • Tensorflow 1.x
  • tqdm
  • h5py
  • scipy
  • cv2

DataSet

DataSet LR HR
DIV2K 800 (192x192) 800 (768x768)

Usage

training

# hyper-paramters in config.py, you can edit them!
$ python3 train.py --data_from [img or h5]

testing

$ python3 test.py --src_image sample.png --dst_image sample-upscaled.png

Results

  • OOM on my machine :(... I can't test my code, but maybe code runs fine.
Example\Resolution 192x192x3 image (sample) 768x768x3 image (generated)
Example1 (X4 scaled) img img

To-Do

  1. None

Author

HyeongChan Kim / @kozistr

rcan-tensorflow's People

Contributors

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