Coder Social home page Coder Social logo

vdnet's Introduction

VDN

Requirements and Dependencies

  • Ubuntu 16.04, cuda 10.0
  • Python 3.6, Pytorch 1.1.0
  • More detail (See environment.yml)

Image Denoising

Non-IID Gauss Noise Removal

In the training stage, we used the source images in Waterloo, CBSD432 and CImageNet400 as groundtruth, and the variance map of the noise was generated with Gaussian kernel. However, in the test stage, three different variance maps were adopted to generate noisy images to verify the generalization of VDN.

Testing

    python demo_test_simulation.py

Training

  1. Download the source images from the above links.
  2. Prepare the testing datasets:
    python datasets/prepare_data/simulation/noise_generate_nips_niid.py
  1. Begining training:
    python train_simulation.py --simulate_dir source_imgs_path --eps2 5e-5

Real-world Noise Removal

The real-world VDN denoiser was trained on the SIDD Medium Dataset, and directly tested on the SIDD and DND benchmarks.

Testing:

    python demo_test_benchmark.py

Training:

  1. Download the training and validation(noisy, groundtruth) datasets, and put the unzipped training dataset and the validation dataset into the floder "sidd_data_path".

  2. Writing the training and validation datasets into hdf5 fromat:

    python datasets/prepare_data/SIDD/big2small_train.py --data_dir sidd_data_path
    python datasets/prepare_data/SIDD/big2small_test.py --data_dir sidd_data_path
  1. Begin training:
    python train_benchmark.py --SIDD_dir sidd_data_path --eps2 1e-6

Citation

@incollection{NIPS2019_8446,
title = {Variational Denoising Network: Toward Blind Noise Modeling and Removal},
author = {Yue, Zongsheng and Yong, Hongwei and Zhao, Qian and Meng, Deyu and Zhang, Lei},
booktitle = {Advances in Neural Information Processing Systems 32},
editor = {H. Wallach and H. Larochelle and A. Beygelzimer and F. d\textquotesingle Alch\'{e}-Buc and E. Fox and R. Garnett},
pages = {1690--1701},
year = {2019},
publisher = {Curran Associates, Inc.},
url = {http://papers.nips.cc/paper/8446-variational-denoising-network-toward-blind-noise-modeling-and-removal.pdf}
}

vdnet's People

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.