Git Product home page Git Product logo

athanatos96 / complex-cnn-deeplab-v3-with-stft-for-audio-denoising Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 0.0 232 KB

Paper Name: Complex Convolution Neural Network model (Complex DeepLab v3) on STFT time-varying frequency components for audio denoising Creating a Complex Deep Lab v3 model for audio denoising using STFT complex mask Dataset from: https://datashare.is.ed.ac.uk/handle/10283/2791

Home Page: https://www.researchgate.net/publication/366517727_Complex_Convolution_Neural_Network_model_Complex_DeepLab_v3_on_STFT_time-varying_frequency_components_for_audio_denoising

Python 31.21% Shell 0.08% Jupyter Notebook 68.70%
audio-denoising audio-processing convolutional-neural-networks deep-learning deeplabv3 machine-learning pytorch stft

complex-cnn-deeplab-v3-with-stft-for-audio-denoising's Introduction

Complex Deep-Lab V3

PyTorch Implementation of Complex Convolution Neural Network model (Complex DeepLab v3) on STFT time-varying frequency components for audio denoising, (A. C. Parra, 2022)

Original Code

Original Code from https://github.com/sweetcocoa/DeepComplexUNetPyTorch/

Deep Lab V3

Code was adapted to work for Deep Lab V3 Rethinking Atrous Convolution for Semantic Image Segmentation, (L-C. Chen et al., 2017)

Reimplementation of DeepLabV3 to work with complex numbers

DeepLabv3 base code: https://github.com/pytorch/vision/blob/0dceac025615a1c2df6ec1675d8f9d7757432a49/torchvision/models/segmentation/deeplabv3.py

FCN head base code: https://github.com/pytorch/vision/blob/0dceac025615a1c2df6ec1675d8f9d7757432a49/torchvision/models/segmentation/fcn.py#L36

Resnet base code: https://github.com/pytorch/vision/blob/0dceac025615a1c2df6ec1675d8f9d7757432a49/torchvision/models/resnet.py#L166

Complex Layers

New functions adapted from https://github.com/wavefrontshaping/complexPyTorch/blob/70a511c1bedc4c7eeba0d571638b35ff0d8347a2/complexPyTorch/complexFunctions.py

They were built to run with complex types for pytorch. I had to change them to work with floats with 1 extra dimension of size 2 (Real, Imaginary)

New Functions and classes: ComplexAdaptiveAvgPool2d ComplexMaxPool2d ComplexReLU ComplexDropout complex_interpolate

Requirements

See file requirements.txt

Train

Download Datasets:

Train

python ComplexDeepLabV3/train_dcunet.py \
					--batch_size 2 \
					--train_signal Data/DS_10283_2791/Train/clean_trainset_28spk_wav \
					--train_noise Data/DS_10283_2791/Train/noisy_trainset_28spk_wav \
					--test_signal Data/DS_10283_2791/Test/clean_testset_wav \
					--test_noise Data/DS_10283_2791/Test/noisy_testset_wav \
					--ckpt checkpoints/checkpoint.pth \
					--num_step 300 \
					--validation_interval 150\
					--complex                   

complex-cnn-deeplab-v3-with-stft-for-audio-denoising's People

Contributors

athanatos96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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