breizhn / DTLN

Tensorflow 2.x implementation of the DTLN real time speech denoising model. With TF-lite, ONNX and real-time audio processing support.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modify to 32K sample rate

matt-audio opened this issue · comments

I tried to modified the DTLN model to 32K, but it always got error.
''----------------------------------------------------------------------------------------------------------------
File "/Library/Python/3.8/site-packages/tensorflow/python/keras/engine/training.py", line 1110, in fit
raise ValueError('Expect x to be a non-empty array or dataset.')
ValueError: Expect x to be a non-empty array or dataset.
''---------------------------------------------------------------------------------------------------------------

I changed the dataset to 32K, and modify self.fs = 32000, and all fs related stuffs.

Please help...

I found the problem,Need to fix len_in_samples = 239872
but dont know why

@matt-audio Hi,What is the noise reduction result of 32K model

Just the same as the 16K model can be used ...