Giter VIP home page Giter VIP logo

bsrnn_audio_denoising's Introduction

BSRNN

Unofficial PyTorch implementation of the paper "HIGH FIDELITY SPEECH ENHANCEMENT WITH BAND-SPLIT RNN" (https://arxiv.org/abs/2212.00406) on VCTK-DEMAND Dataset (https://datashare.ed.ac.uk/handle/10283/2791).

image

Result

Choosed parameter settings

N (feature dimension) : 64, L (the number of lstm layers) : 5

PESQ SSNR STOI
Noisy 1.97 1.68 0.91
BSRNN(N=64, L=5) 3.10 9.56 0.95

Audio files are in saved_tracks_best folder.

Train and inference

1. Dependencies:

Used packages are can be installed by:

pip install -r requirements.txt

2. Download dataset:

Download VCTK-DEMAND dataset (https://datashare.ed.ac.uk/handle/10283/2791), change the dataset dir:

-VCTK-DEMAND/
  -train/
    -noisy/
    -clean/
  -test/
    -noisy/
    -clean/

3. Train:

python train.py --data_dir <dir to VCTK-DEMAND dataset>

If you want to adjust parameters (N, L) of the model, change the value of variables in train.py.

self.model = BSRNN(num_channel=64, num_layer=5).cuda()

4. Inference and metric evaluation:

python evaluation.py --test_dir <dir to VCTK-DEMAND/test> --model_path <path to the best ckpt>

Reference

bsrnn_audio_denoising's People

Contributors

dependabot[bot] avatar sungwon23 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.