Skip to content

0xdeval/DenoisingAlgorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DenoisingAlgorithm

Current repository represents denoising algorithm. Current result of algorithm during training on 5 epochs with 32 batch size and 50 steps per epoch:

Train And Val Losses After 5 Epochs

I've got the following average MSE on val dataset:

Average MSE on val dataset

Train

During the training, algorithm use on input noisy sound and only noise. Algorithm try to find in certain noisy sound just noise and then clean the noisy one.

If you want to use your own data, change path to train folder on your own path (BUT KEEP THE STRUCTURE). Remember, you should have train and validation folders for running the training!

After training you will see the MSE metric on validation dataset.

How To Run?

Main files:

  1. main.py - with generator of data and script for starting the training
  2. model.py - the UNET model for training
  3. config.py - file withh all necessary settings for the code

Locally

  1. Setup all necessary parameteres in config.py file
  2. Run main.py script

After finishing of the model training, you will see the MSE metric for validation dataset

Docker

  1. docker build --tag denoising_algorithm . ==> for building the image
  2. docker run --tag denoising_algorithm ==> for running the image as a container

It will take some time, because I COPY all project to container (train folder size is about 2G)

TODO

  1. Rewrite Dockerfile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors