facebookresearch / denoiser

Real Time Speech Enhancement in the Waveform Domain (Interspeech 2020)We provide a PyTorch implementation of the paper Real Time Speech Enhancement in the Waveform Domain. In which, we present a causal speech enhancement model working on the raw waveform that runs in real-time on a laptop CPU. The proposed model is based on an encoder-decoder architecture with skip-connections. It is optimized on both time and frequency domains, using multiple loss functions. Empirical evidence shows that it is capable of removing various kinds of background noise including stationary and non-stationary noises, as well as room reverb. Additionally, we suggest a set of data augmentation techniques applied directly on the raw waveform which further improve model performance and its generalization abilities.
Other
1.65k stars 302 forks source link

The enhance doesn't generate denoised file #117

Closed peace20162 closed 2 years ago

peace20162 commented 2 years ago

I try it on goolgle colab and this is my code: https://colab.research.google.com/drive/1I58upB-kT4wqsqE5W2zdrFPlXUH_U-BG#scrollTo=SBNrIKi7na2v. The audio file length is about 3 secs . I follow the read-me but it doesn't generate anything. please help!

adefossez commented 2 years ago

i dont have access to the colab. I sent you a request.

peace20162 commented 2 years ago

https://colab.research.google.com/drive/1I58upB-kT4wqsqE5W2zdrFPlXUH_U-BG?usp=sharing sorry i didnt change share setting. @adefossez

adefossez commented 2 years ago

can you show the error you are getting ?

peace20162 commented 2 years ago

it doesn't show any error but it doesn't have enhanced wav file in enhanced folder.

peace20162 commented 2 years ago

Screenshot 2022-04-04 163740

adefossez commented 2 years ago

you need to pass --noisy_dir /content (it needs to be a folder, not a file, all files in the folder will be processed).

peace20162 commented 2 years ago

thank you. it work now.