Giter VIP home page Giter VIP logo

bsrnn'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's People

Contributors

sungwon23 avatar dependabot[bot] avatar

Stargazers

 avatar Daniele Bae avatar YUE XIANGHU avatar  avatar etude avatar Rishikesh (ऋषिकेश) avatar Guo avatar Zhimin Mei avatar Victor Yang avatar  avatar Yang Zhong avatar  avatar Nickolay V. Shmyrev avatar  avatar  avatar gotomypc avatar ColeChen avatar  avatar  avatar Yoshiki Masuyama avatar Zhang Kaiyuan avatar Xiquan Li avatar Duo MA avatar DongruYang avatar  avatar ZR Han avatar Guillem Cortès-Sebastià avatar owlwang avatar  avatar sagit avatar Connie Zhu avatar  avatar  avatar  avatar Mandar Gogate avatar Feng Dang avatar Kwan Truong avatar  avatar  avatar Dr Matt James avatar redust avatar Nicolas Pinto avatar Wenbing Wei avatar WANG Qirui avatar  avatar wendong avatar  avatar ChenYD avatar  avatar Noc avatar  avatar Sandalots avatar 爱可可-爱生活 avatar  avatar Satvik Venkatesh avatar Than Lwin Aung avatar Kai Li (李凯) avatar Jun Chen avatar DS.Xu avatar Sandesh Bharadwaj avatar  avatar  avatar Jorge Bustos avatar zyser avatar tingweichen avatar Okrio avatar  avatar

Watchers

Nickolay V. Shmyrev avatar  avatar

bsrnn's Issues

Questions about code reproduction effects

First of all, thank you for your work.
I would like to ask if the results obtained by that code can get the results described in the paper and if they can beat MTFAA and FRCRN in terms of objective scores?

Real-time mode

Hi, does your code have real-time mode? What I mean is there possibility in your code for batch audio processing?

model issue

Can this model be used for speaker separation, and how can it be done?

reproductioin

Hello,thank you for your sharing and generous!
But I got a problem when I reproduct your result with totally the same code. I use VoiceBank+Demand dataset , sampling rate 16kHz. And I split the 28 speakers in the trainset into train and test for 26 and 2 spkears ,respectively. I set batch size as 18, and train epoch 100 in total.
When I test the model in VoiceBank+Demand testset, BUT I got PESQ at 1.97, STOI 0.92, it's weird and just like the model doesn't has been trained. Are you use the same testset in train and test? Or can you share your opinion about this question?
Thanks a lot.

view_as_real is only supported for complex tensors

Hello! I tried to change the code to dp training form and found this problem
in: module.py line40. I printed the input tensor for model and found that the data form of dp multi-GPU is different from the original single GPU

Causal system

Hello! I want to confirm to you that is this code already a causal system? If not, which part leads to non-causal processing? Thanks.

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.