I have a dataset with textual data and four class labels. I want to use ANN for performing accurate text classification. I have tried to use a neural network for the dataset but it is giving me the following error and I am unable to understand it. Can anyone help me out with this?

Negative dimension size caused by subtracting 5 from 1 for '{{node model/conv1d/Conv1D}} = Conv2D[T=DT_FLOAT, data_format="NHWC", dilations=[1, 1, 1, 1], explicit_paddings=[], padding="VALID", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true](model/conv1d/Conv1D/ExpandDims, model/conv1d/Conv1D/ExpandDims_1)' with input shapes: [?,1,1,50], [1,5,50,64].

More Usman Rafi's questions See All
Similar questions and discussions