rnnoise_16k icon indicating copy to clipboard operation
rnnoise_16k copied to clipboard

about the matrix size and count

Open xiaoqi91 opened this issue 3 years ago • 3 comments

I use denoise.c to extract features. And I changed count to 100000, so it printed 100000*75 on the screen. However when I run bin2hdf5.py , an error occurs: "cannot reshape array of size 7555881 into shape (100000,75)" . Why? looking forward to your reply, thank you.

xiaoqi91 avatar Dec 01 '21 12:12 xiaoqi91

Have you soloved your problem yet? If so, could you paste your solution?

shipleyxie avatar Dec 02 '21 09:12 shipleyxie

Have you soloved your problem yet? If so, could you paste your solution?

yes, just because the strings from "printf" function are also saved to the binary file "training_16k_v3.f32". Just comment the "printf"s in denoise.c will work.

xiaoqi91 avatar Dec 02 '21 09:12 xiaoqi91

Have you soloved your problem yet? If so, could you paste your solution?

yes, just because the strings from "printf" function are also saved to the binary file "training_16k_v3.f32". Just comment the "printf"s in denoise.c will work.

sry for this silly mistake, will clear it soon

YongyuG avatar Dec 06 '21 06:12 YongyuG