07 July 2021 2 7K Report

I have an audio dataset. I have process it and built an array as:

(audio Files, number of features, feature vector, 1)=(18, 64, 1688, 1)

But when I pass this to my model (file attach below), It shows me following error:

ValueError: Input 0 of layer sequential_54 is incompatible with the layer: expected ndim=5, found ndim=4. Full shape received: (None, 64, 1688, 1)

And when I again reshape it to get ndim=5 as:

(audio Files, number of features, feature vector, 1, 1)=(18, 64, 1688, 1, 1)

It again gives me an error says that:

Input 0 of layer conv_lst_m2d_83 is incompatible with the layer: expected ndim=5, found ndim=6. Full shape received: (None, None, 64, 211, 1, 128)

I do not know how to resolve this issue, and I have follow this link that https://stackoverflow.com/a/47665700/12559855 but my issue is not resolved.

Kindly guide me in this regard. It will be a great favor.

More Tariq Sm's questions See All
Similar questions and discussions