crnn-audio-classification icon indicating copy to clipboard operation
crnn-audio-classification copied to clipboard

Error: Kernel size can't be greater than actual input size

Open 7-qiliu opened this issue 5 years ago • 1 comments

in inference, if I choose audios with small size (e.g. fold10/7913-3-3-0.wav, fold10/7913-3-1-0.wav), the error will occur: Kernel size can't be greater than actual input size

How shall I fix the bug?

7-qiliu avatar Oct 24 '20 09:10 7-qiliu

You'll need to either pad the input with silence, or modify the network (smaller kernel size, or stride, or padding).

ksanjeevan avatar Nov 05 '20 17:11 ksanjeevan