GithubHelp home page GithubHelp logo

pskrunner14 / denoiser Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 350 KB

Convolutional Autoencoder for Denoising Images

License: MIT License

Python 100.00%
convolutional-autoencoder denoising-autoencoders denoising-images autoencoder

denoiser's Introduction

Denoiser

Denoising Images using Convolutional Autoencoder. The principle behind denoising autoencoders is to be able to reconstruct data from an input of corrupted data. After giving the autoencoder the corrupted data, we force the hidden layer to learn only the more robust features, rather than just the identity. The output will then be a more refined version of the input data. We can train a denoising autoencoder by stochastically corrupting data sets and inputting them into a neural network. The autoencoder can then be trained against the original data. One way to corrupt the data would be simply to randomly remove some parts of the data or in our case add some random uniform noise to the data, so that the autoencoder is trying to predict the original input.

Denoising Autoencoder

Dataset

I've used the Faces in the Wild Dataset that contains more than 13,000 images of faces collected from the web which is more than enough for this task. Each face has been labeled with the name of the person pictured. 1680 of the people pictured have two or more distinct photos in the data set.

Getting Started

In order to train the model, you will need to install the required python packages using:

pip install -r requirements.txt

Once you're done with that, you can open up a terminal and start training the model:

python train.py -lr 0.002 --num-epochs 10 --batch-size 32 --save-every 5 --tensorboard-vis

Passing the --tensorboard-vis flag allows you to view the training/validation loss in your browser using:

tensorboard --logdir=./logs

Built with

  • Python
  • Keras
  • TensorFlow

denoiser's People

Contributors

pskrunner14 avatar

Stargazers

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