rnnoise icon indicating copy to clipboard operation
rnnoise copied to clipboard

Getting matrix size 0x87 while training

Open AsimFayyazRaja opened this issue 4 years ago • 4 comments

OS: Ubuntu 16.04 Environment: Local using pip

I have some wav files which are appended together using pydub and then raw file is made from the wav file like this:

sox joinedFile_clean.wav --bits 16 --encoding signed-integer --endian little ../clean.raw
sox joinedFile_noisy.wav --bits 16 --encoding signed-integer --endian little ../noisy.raw

then the raw files are being passed to denoise_training like this:

./denoise_training clean.raw noisy.raw count > training.f32

but the output I am getting is:

matrix size: 0 x 87

Can anyone tell me why is this issue happening? Am I converting it correctly to raw? The inference is working fine.

AsimFayyazRaja avatar Jun 14 '20 19:06 AsimFayyazRaja

Your count should be set 50000 or 500000.The problem can be solved.

jeremy110 avatar Jun 15 '20 02:06 jeremy110

Having the same issue, has anybody solved it?

Mikelew88 avatar Feb 01 '21 17:02 Mikelew88

I now understand. For anyone else, you must specify and integer for count, Jeremy suggests 50000 or 500000, in the ./denoise_training command. So for example:

./denoise_training clean.raw noisy.raw 50000 > training.f32

Mikelew88 avatar Feb 01 '21 21:02 Mikelew88

You must set the maxCount refers to src/denoise.c. The code will generate maxCount (default: 0) frames in loop.

pengzhendong avatar Feb 23 '21 02:02 pengzhendong