https://github.com/0xdeval/denoisingalgorithm
https://github.com/0xdeval/denoisingalgorithm
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/0xdeval/denoisingalgorithm
- Owner: 0xdeval
- Created: 2020-04-15T05:52:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-15T13:21:12.000Z (about 6 years ago)
- Last Synced: 2025-05-15T04:15:35.726Z (about 1 year ago)
- Language: Jupyter Notebook
- Size: 27 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DenoisingAlgorithm
Current repository represents denoising algorithm. Current result of algorithm during training on `5 epochs` with `32 batch size` and `50 steps per epoch`:

I've got the following 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