Code Monkey home page Code Monkey logo

blind_sr_denoise's Introduction

BLIND IMAGE SUPER-RESOLUTION

Setup

  1. Minimum requirements. This project was originally developed with Python 3.6, PyTorch 1.7 and CUDA 11.1. The training requires at least a Titan X GPUs (12Gb memory each).

  2. Download pre-trained models. For running the code, you need to download the two pre-trained weights of Kernel Prior (KP) and Noise Prior (NP) module. Here we use FKP as KP and VDNet as NP. The pretrained weight can be found here

How to Run

First you need to place the pre-trained weight of KP and NP to anywhere you want.

Next, run the following command:

cd DIPFKP
python main.py --SR --sf 2 --dataset Set5

BEFORE RUN: please make sure that you edit the overwritting paths, DECLARE PATH AT THIS SECTION in the above file.

By default, the results should appear in the following path: ./data/log_DIPFKP/{dataset_name}x{scale}{noise_level}

Acknowledgements

We thank Jingyun Liang for releasing his code that helped in the early stages of this project.

We also thank Zongsheng Yue for the work at this which contributes to the NP module of our project.

Requirements

  • Python 3.6/3.7.9, PyTorch >= 1.5.1
  • Requirements: opencv-python, tqdm
  • Platforms: Ubuntu 20.04, cuda-10.2 & cuDNN v-7.5

License & Acknowledgement

This project is released under the Apache 2.0 license. The codes are based on normalizing_flows, DIP, KernelGAN and USRNet. Please also follow their licenses. Thanks for their great works.

blind_sr_denoise's People

Contributors

jingyunliang avatar khanhnn00 avatar

Watchers

 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.