Giter VIP home page Giter VIP logo

ppcn's Introduction

Python 3.5

PPCN (Team: Rainbow)

[Paper]

Super-Resolution Task


The schematics of the proposed network for image super-resolution

Training

First, download the DIV2K dataset and unzip it in train_SR/ folder.

Run the following command to train the SR model

python train_SR.py

Testing

First, download the SR_Test_Datasets and put them in test/SR_test_data folder.

Run the following command to super-resolve low-resolution images

python evaluate_super_resolution.py

Enhancement Task


DPED image enhanced by our method


The structure of the proposed generator and discriminator for image enhancement

Training

  • Step1: download the pre-trained VGG19 model and put it into train/vgg_pretrained/ folder
  • Step2: download DPED dataset and extract it into train/dped/ folder.
  • Step3: train the teacher model by executing the following command
python train_teacher.py
  • Step4: train the student model by running
python train_student.py

Testing

Run the following command to enhance low-quality images

python evaluate_enhancement.py

Citation

If you find PPCN useful in your research, please consider citing:

@inproceedings{Hui-PPCN-2018,
  title={Perception-Preserving Convolutional Networks for Image Enhancement on Smartphones},
  author={Hui, Zheng and Wang, Xiumei and Deng, Lirui and Gao, Xinbo},
  booktitle={ECCV Workshop},
  pages = {},
  year={2018}
}

Code References

[1]https://github.com/aiff22/ai-challenge

[2]https://github.com/aiff22/DPED

[3]https://github.com/roimehrez/contextualLoss

ppcn's People

Contributors

zheng222 avatar

Watchers

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