Giter Site home page Giter Site logo

excllent123 / kpac Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codeslake/kpac

0.0 1.0 0.0 27.8 MB

[ICCV 2021] Official Tensorflow Implementation for "Single Image Defocus Deblurring Using Kernel-Sharing Parallel Atrous Convolutions"

License: GNU Affero General Public License v3.0

Python 100.00%

kpac's Introduction

KPAC: Kernel-Sharing Parallel Atrous Convolutional block

License CC BY-NC

This repository contains the official Tensorflow implementation of the following paper:

Single Image Defocus Deblurring Using Kernel-Sharing Parallel Atrous Convolutions
Hyeongseok Son, Junyong Lee, Sunghyun Cho, Seungyong Lee, ICCV 2021

Getting Started

Prerequisites

Tested environment

Ubuntu16.04 Python 2.7.12 Tensorflow 1.10.0 CUDA 9.0

  1. Pre-trained models

     ```
     ├── ./pretrained
     │   ├── single_2level.npz
     │   ├── single_3level.npz
     │   ├── dual.npz
     ```
    
  2. Built-in Tensorlayer (modified from Tensorlayer 1.7.0)

     ```
     ├── ./tensorlayer
     ```
    
  3. Datapath setting in config.py

Testing models of ICCV2021

# Our 2-level model 
CUDA_VISIBLE_DEVICES=0 python main_eval_2level.py

# Our 3-level model 
CUDA_VISIBLE_DEVICES=0 python main_eval_3level.py

# Our dual pixel-based model
CUDA_VISIBLE_DEVICES=0 python main_eval_dual.py

Citation

If you find this code useful, please consider citing:

@InProceedings{Son_2021_ICCV,
    author = {Son, Hyeongseok and Lee, Junyong and Cho, Sunghyun and Lee, Seungyong},
    title = {Single Image Defocus Deblurring Using Kernel-Sharing Parallel Atrous Convolutions},
    booktitle = {Proc. ICCV},
    year = {2021}
}

Contact

Open an issue for any inquiries. You may also have contact with [email protected]

License

This software is being made available under the terms in the LICENSE file.

Any exemptions to these terms require a license from the Pohang University of Science and Technology.

About Coupe Project

Project ‘COUPE’ aims to develop software that evaluates and improves the quality of images and videos based on big visual data. To achieve the goal, we extract sharpness, color, composition features from images and develop technologies for restoring and improving by using them. In addition, personalization technology through user reference analysis is under study.

Please checkout other Coupe repositories in our Posgraph github organization.

Useful Links

kpac's People

Contributors

hyeongseokson1 avatar

Watchers

James Cloos 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.