GithubHelp home page GithubHelp logo

tuvovan / rfdnet-imagesuperresolution Goto Github PK

View Code? Open in Web Editor NEW
34.0 5.0 13.0 56.57 MB

Keras Implementation of the paper Residual Feature Distillation Network for Lightweight Image Super-Resolution

License: MIT License

Python 100.00%
image-super-resolution keras tensorflow tensorflow2 computational-imaging image-enhancement computer-vision deep-learning convolutional-neural-networks

rfdnet-imagesuperresolution's Introduction

RFDNet Super Resolution

Residual Feature Distillation Network for Lightweight Image Super-Resolution teaser

Content

Getting Started

  • Clone the repository

Prerequisites

  • Tensorflow 2.2.0+
  • Python 3.6+
  • Keras 2.3.0
  • PIL
  • numpy
pip install -r requirements.txt

Running

Training

  • Train RFDNet

    python main.py
    
  • Test RFDNet

    python test.py
    

Usage

Testing

usage: test.py [-h] [--test_path TEST_PATH] [--gpu GPU]
               [--weight_test_path WEIGHT_TEST_PATH] [--filter FILTER]
               [--feat FEAT] [--scale SCALE]
optional arguments:
                    -h, --help            show this help message and exit
                    --test_path TEST_PATH
                    --gpu GPU
                    --weight_test_path WEIGHT_TEST_PATH
                    --filter FILTER
                    --feat FEAT
                    --scale SCALE

Result

Input - Low Res Bilinear Output High Res

License

This project is licensed under the MIT License - see the LICENSE file for details

References

[1] Training and Testing dataset - link

Citation

@misc{liu2020residual,
      title={Residual Feature Distillation Network for Lightweight Image Super-Resolution}, 
      author={Jie Liu and Jie Tang and Gangshan Wu},
      year={2020},
      eprint={2009.11551},
      archivePrefix={arXiv},
      primaryClass={eess.IV}
}

Acknowledgments

  • Any ideas on updating or misunderstanding, please send me an email: [email protected]
  • If you find this repo helpful, kindly give me a star.

rfdnet-imagesuperresolution's People

Contributors

jonqkim avatar tuvovan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

rfdnet-imagesuperresolution's Issues

Weights for 'scale == 2' Model

Hello @tuvovan

Thank you for this TF implementation and work !

I would appreciate it if you could kindly please share the weights (h5 files) for a x2 scale please?

NameError: name 'test_img_paths' is not defined

Traceback (most recent call last):
File "main.py", line 91, in
callbacks = [ESPCNCallback(), early_stopping_callback, model_checkpoint_callback]
File "/content/drive/MyDrive/Experiment/codes/36_RFDN/RFDNet-ImageSuperResolution/utils.py", line 96, in init
self.test_img = get_lowres_image(load_img(test_img_paths[0]), upscale_factor)
NameError: name 'test_img_paths' is not defined

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.